You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hide/view/Model.hx
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2172,6 +2172,12 @@ class Model extends FileView {
2172
2172
toolsDefs.push({id: "showViewportOverlays", title : "Viewport Overlays", icon : "eye", type : Toggle((v) -> { sceneEditor.updateViewportOverlays(); }) });
2173
2173
toolsDefs.push({id: "viewportoverlays-menu", title : "", icon: "", type : Popup((e) ->newhide.comp.SceneEditor.ViewportOverlaysPopup(e, sceneEditor))});
2174
2174
2175
+
toolsDefs.push({id: "", title : "", icon : "", type : Separator});
2176
+
2177
+
toolsDefs.push({id: "toggleSnap", title : "Snap Toggle", icon: "magnet", type : Toggle((v) -> {sceneEditor.snapToggle=v; sceneEditor.updateGrid();})});
2178
+
toolsDefs.push({id: "snap-menu", title : "", icon: "", type : Popup((e) ->newhide.comp.SceneEditor.SnapSettingsPopup(e, sceneEditor))});
2179
+
2180
+
2175
2181
//toolsDefs.push({id: "iconVisibility", title : "Toggle 3d icons visibility", icon : "image", type : Toggle((v) -> { hide.Ide.inst.show3DIcons = v; }), defaultValue: true });
2176
2182
//toolsDefs.push({id: "iconVisibility-menu", title : "", icon: "", type : Popup((e) -> new hide.comp.SceneEditor.IconVisibilityPopup(null, e, sceneEditor))});
0 commit comments