Explorar o código

Fix SceneTreeDock::_new_scene_from()'s reset_scale in 3D

Lily hai 8 meses
pai
achega
721f8e793e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/scene_tree_dock.cpp

+ 1 - 1
editor/scene_tree_dock.cpp

@@ -3386,7 +3386,7 @@ void SceneTreeDock::_new_scene_from(const String &p_file) {
 				copy_3d->set_rotation(Vector3(0, 0, 0));
 			}
 			if (reset_scale) {
-				copy_3d->set_scale(Vector3(0, 0, 0));
+				copy_3d->set_scale(Vector3(1, 1, 1));
 			}
 		}