mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 14:14:33 +00:00
Check correct variable
This commit is contained in:
parent
fa5b377ec3
commit
7519f18035
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue