mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-17 03:10:52 +00:00
fix apcrash when loading a new mission after painting decals but before properly selecting a new one to paint
This commit is contained in:
parent
d8f585c552
commit
0b19bd9aca
1 changed files with 7 additions and 0 deletions
|
|
@ -350,6 +350,13 @@ function DecalEditorGui::completeGizmoTransform( %this, %decalId, %nodeDetails )
|
|||
|
||||
function DecalEditorGui::onSleep( %this )
|
||||
{
|
||||
DecalEditorTreeView.clearSelection();
|
||||
DecalDataList.setSelected( DecalDataList.getSelectedItems(), false );
|
||||
|
||||
DecalEditorGui.currentDecalData = "";
|
||||
DecalPreviewWindow-->decalPreview.setBitmap("");
|
||||
DecalEditorGui.selDecalInstanceId = "";
|
||||
DecalPreviewWindow-->instancePreview.setBitmap("");
|
||||
}
|
||||
|
||||
function DecalEditorGui::syncNodeDetails( %this )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue