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
// Note: Warn for Node2D but not all CanvasItems, don't warn for Control nodes.
65
65
// Control nodes may have reasons to use a transformed root node like anchors.
66
-
if (!node_2d->get_transform().is_equal_approx(Transform2D())) {
66
+
if (!node_2d->get_position().is_equal_approx(Vector2())) {
67
67
warnings.append(TTR("The root node of a scene is recommended to not be transformed, since instances of the scene will usually override this. Reset the transform and reload the scene to remove this warning."));
if (!node_3d->get_transform().is_equal_approx(Transform3D())) {
72
+
if (!node_3d->get_position().is_equal_approx(Vector3())) {
73
73
warnings.append(TTR("The root node of a scene is recommended to not be transformed, since instances of the scene will usually override this. Reset the transform and reload the scene to remove this warning."));
0 commit comments