Merge pull request #979 from mjunix/small-fixes

Small fixes
This commit is contained in:
Brian Roberts 2023-03-06 19:31:07 -06:00 committed by GitHub
commit b257ac3d1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 19 additions and 11 deletions

View file

@ -2704,7 +2704,7 @@ SceneObject* GuiConvexEditorCtrl::createPolyhedralObject(const char* className,
// Create the object.
SceneObject* object = dynamic_cast< SceneObject* >(classRep->create());
if (!Object)
if (!object)
{
Con::errorf("WorldEditor::createPolyhedralObject - Could not create SceneObject with class '%s'", className);
return NULL;