mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 00:05:40 +00:00
snap syncing
for world and convex shape editors
This commit is contained in:
parent
e9638d285f
commit
7664b63071
6 changed files with 35 additions and 8 deletions
|
|
@ -130,6 +130,10 @@ function ConvexEditorPlugin::onActivated( %this )
|
|||
ConvexEditorScaleModeBtn.performClick();
|
||||
}
|
||||
|
||||
EWorldEditor.UseGridSnap = EditorSettings.value("WorldEditor/Tools/UseGridSnap");
|
||||
CESnapOptions-->objectGridSnapBtn.setStateOn( EWorldEditor.UseGridSnap );
|
||||
%this.setGridSnap( EWorldEditor.UseGridSnap );
|
||||
|
||||
Parent::onActivated( %this );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue