Undue some formatting changes that were in dispute.
This commit is contained in:
parent
3ef6a15741
commit
0a35055aa0
|
@ -71,9 +71,7 @@ func _process(_delta):
|
|||
# Make sure the gizmo is located at the object.
|
||||
global_position = node_25d.global_position
|
||||
if ROUGHLY_ROUND_TO_PIXELS:
|
||||
spatial_node.transform.origin = (
|
||||
(spatial_node.transform.origin * Node25D.SCALE).round() / Node25D.SCALE
|
||||
)
|
||||
spatial_node.transform.origin = (spatial_node.transform.origin * Node25D.SCALE).round() / Node25D.SCALE
|
||||
# Move the gizmo lines appropriately.
|
||||
lines_root.global_position = node_25d.global_position
|
||||
node_25d.property_list_changed_notify()
|
||||
|
|
|
@ -17,15 +17,8 @@ func _enter_tree():
|
|||
_make_visible(false)
|
||||
# When this plugin node enters tree, add the custom types.
|
||||
add_custom_type("Node25D", "Node2D", preload("node_25d.gd"), preload("icons/node_25d_icon.png"))
|
||||
add_custom_type(
|
||||
"YSort25D", "Node", preload("y_sort_25d.gd"), preload("icons/y_sort_25d_icon.png")
|
||||
)
|
||||
add_custom_type(
|
||||
"ShadowMath25D",
|
||||
"CharacterBody3D",
|
||||
preload("shadow_math_25d.gd"),
|
||||
preload("icons/shadow_math_25d_icon.png")
|
||||
)
|
||||
add_custom_type("YSort25D", "Node", preload("y_sort_25d.gd"), preload("icons/y_sort_25d_icon.png"))
|
||||
add_custom_type("ShadowMath25D", "CharacterBody3D", preload("shadow_math_25d.gd"), preload("icons/shadow_math_25d_icon.png"))
|
||||
|
||||
|
||||
func _exit_tree():
|
||||
|
|
Loading…
Reference in New Issue