mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 00:23:46 +00:00
* [Editor] BugFix: Fix a crash that sometimes occurs when groups of objects are deleted in the world editor.
This commit is contained in:
parent
2e153e43e0
commit
12f4af51f5
1 changed files with 2 additions and 2 deletions
|
|
@ -1993,12 +1993,12 @@ void WorldEditor::on3DMouseMove(const Gui3DMouseEvent & event)
|
|||
if ( !mHitObject )
|
||||
{
|
||||
SceneObject *hitObj = NULL;
|
||||
if ( collide(event, &hitObj) && hitObj->isSelectionEnabled() && !objClassIgnored(hitObj) )
|
||||
if ( collide(event, &hitObj) && !hitObj->isDeleted() && hitObj->isSelectionEnabled() && !objClassIgnored(hitObj) )
|
||||
{
|
||||
mHitObject = hitObj;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
mLastMouseEvent = event;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue