Browse Source

Hide gizmo - play button for now

luboslenco 2 days ago
parent
commit
c6b0f915f5
1 changed files with 9 additions and 10 deletions
  1. 9 10
      paint/sources/ui_header.ts

+ 9 - 10
paint/sources/ui_header.ts

@@ -547,15 +547,14 @@ function ui_header_draw_tool_properties() {
 	}
 
 	if (context_raw.tool == tool_type_t.GIZMO) {
-        if (!sim_running && ui_button("Play")) {
-			sim_play();
-			context_raw.selected_object = scene_camera.base;
-		}
-		if (sim_running && ui_button("Stop")) {
-			sim_stop();
-		}
-        let h_record: ui_handle_t = ui_handle(__ID__);
-        sim_record = ui_check(h_record, tr("Record"));
+        // if (!sim_running && ui_button("Play")) {
+		// 	sim_play();
+		// 	context_raw.selected_object = scene_camera.base;
+		// }
+		// if (sim_running && ui_button("Stop")) {
+		// 	sim_stop();
+		// }
+        // let h_record: ui_handle_t = ui_handle(__ID__);
+        // sim_record = ui_check(h_record, tr("Record"));
 	}
 }
-