1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-19 03:53:14 +00:00

Compare commits

..

No commits in common. "98997340906089abcc0ebba8a7e73a9e851ecdc0" and "084bdcccb14d4870a18437e814fb0bff13fb01e6" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View file

@ -374,4 +374,3 @@ func _add_polylines_segment(lines: Array, start: Vector2i, end: Vector2i) -> voi
func _exit_tree() -> void:
if is_moving:
draw_end(Global.canvas.current_pixel.floor())
Global.canvas.previews_sprite.texture = null

View file

@ -2,7 +2,7 @@ extends PanelContainer
var axes: Node2D
var do_pool := [] ## A pool that stores data of points removed by undo
var delete_pool := [] ## A pool that contains deleted data and their index
var delete_pool := [] ## A pool that containing deleted data and their index
## The vanishing point UI resource
var vanishing_point_res := preload("res://src/UI/PerspectiveEditor/VanishingPoint.tscn")
## Option to show/hide tracker guides. (guides whose end points follow the mouse)
@ -73,7 +73,7 @@ func _update_points() -> void:
# Delete old vanishing points
for c in vanishing_point_container.get_children():
c.queue_free()
# Add the "updated" vanishing points from the current_project
# Add the "updated" vanising points from the current_project
for idx in Global.current_project.vanishing_points.size():
# Create the point
var vanishing_point := vanishing_point_res.instantiate()