File tree Expand file tree Collapse file tree
ui/component/editor/impl/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,6 +161,14 @@ public class Messages {
161161 * The constant SCENE_FILE_EDITOR_ACTION_CAMERA_LIGHT.
162162 */
163163 public static final String SCENE_FILE_EDITOR_ACTION_CAMERA_LIGHT ;
164+ /**
165+ * The constant SCENE_FILE_EDITOR_ACTION_PHYSICS.
166+ */
167+ public static final String SCENE_FILE_EDITOR_ACTION_PHYSICS ;
168+ /**
169+ * The constant SCENE_FILE_EDITOR_ACTION_DEBUG_PHYSICS.
170+ */
171+ public static final String SCENE_FILE_EDITOR_ACTION_DEBUG_PHYSICS ;
164172 /**
165173 * The constant SCENE_FILE_EDITOR_ACTION_SHOW_LIGHTS.
166174 */
@@ -2453,6 +2461,8 @@ public class Messages {
24532461 SCENE_FILE_EDITOR_ACTION_SCALE_TOOL = bundle .getString ("SceneFileEditorActionScaleTool" );
24542462 SCENE_FILE_EDITOR_ACTION_ROTATION_TOOL = bundle .getString ("SceneFileEditorActionRotationTool" );
24552463 SCENE_FILE_EDITOR_ACTION_CAMERA_LIGHT = bundle .getString ("SceneFileEditorActionCameraLight" );
2464+ SCENE_FILE_EDITOR_ACTION_PHYSICS = bundle .getString ("SceneFileEditorActionPhysics" );
2465+ SCENE_FILE_EDITOR_ACTION_DEBUG_PHYSICS = bundle .getString ("SceneFileEditorActionDebugPhysics" );
24562466 SCENE_FILE_EDITOR_ACTION_SHOW_LIGHTS = bundle .getString ("SceneFileEditorActionShowLights" );
24572467 SCENE_FILE_EDITOR_ACTION_SHOW_AUDIO = bundle .getString ("SceneFileEditorActionShowAudio" );
24582468
Original file line number Diff line number Diff line change @@ -280,14 +280,14 @@ protected void createActions(@NotNull final HBox container) {
280280 .addListener ((observable , oldValue , newValue ) -> changeLight (newValue ));
281281
282282 physicsButton = new ToggleButton ();
283- physicsButton .setTooltip (new Tooltip (Messages .SCENE_FILE_EDITOR_ACTION_CAMERA_LIGHT ));
283+ physicsButton .setTooltip (new Tooltip (Messages .SCENE_FILE_EDITOR_ACTION_PHYSICS ));
284284 physicsButton .setGraphic (new ImageView (Icons .PHYSICS_16 ));
285285 physicsButton .setSelected (false );
286286 physicsButton .selectedProperty ()
287287 .addListener ((observable , oldValue , newValue ) -> changePhysics (newValue ));
288288
289289 debugPhysicsButton = new ToggleButton ();
290- debugPhysicsButton .setTooltip (new Tooltip (Messages .SCENE_FILE_EDITOR_ACTION_CAMERA_LIGHT ));
290+ debugPhysicsButton .setTooltip (new Tooltip (Messages .SCENE_FILE_EDITOR_ACTION_DEBUG_PHYSICS ));
291291 debugPhysicsButton .setGraphic (new ImageView (Icons .DEBUG_16 ));
292292 debugPhysicsButton .setSelected (false );
293293 debugPhysicsButton .selectedProperty ()
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ SceneFileEditorActionMoveTool=Moving manipulator
3838SceneFileEditorActionScaleTool =Scaling manipulator
3939SceneFileEditorActionRotationTool =Rotating manipulator
4040SceneFileEditorActionCameraLight =Enable/disable the camera light
41+ SceneFileEditorActionPhysics =Enable/disable bullet physics
42+ SceneFileEditorActionDebugPhysics =Enable/disable debug bullet physics
4143SceneFileEditorActionShowLights =Enable/disable showing lights on a scene
4244SceneFileEditorActionShowAudio =Enable/disable showing audio nodes on a scene
4345
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ SceneFileEditorActionMoveTool=Bewegungssmanipulator
3838SceneFileEditorActionScaleTool =Skalierungsmanipulator
3939SceneFileEditorActionRotationTool =Rotationsmanipulator
4040SceneFileEditorActionCameraLight =Einschalten/Ausschalten des Kameralichtes
41+ SceneFileEditorActionPhysics =Enable/disable bullet physics
42+ SceneFileEditorActionDebugPhysics =Enable/disable debug bullet physics
4143SceneFileEditorActionShowLights =Einschalten/Ausschalten der Lichtquellen in der Szene
4244SceneFileEditorActionShowAudio =Einschalten/Ausschalten der Audioknoten in der Szene
4345
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ SceneFileEditorActionMoveTool=Манипулятор перемещения
3939SceneFileEditorActionScaleTool =Манипулятор маштабирования
4040SceneFileEditorActionRotationTool =Манипулятор вращения
4141SceneFileEditorActionCameraLight =Включение/отключение света от камеры
42+ SceneFileEditorActionPhysics =Включение/отключение bullet физики
43+ SceneFileEditorActionDebugPhysics =Включение/отключение отладки bullet физики
4244SceneFileEditorActionShowLights =Включение/отключение отображения источников света на сцене
4345SceneFileEditorActionShowAudio =Включение/отключение отображения аудио узлов на сцене
4446
You can’t perform that action at this time.
0 commit comments