mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-15 10:13:07 +00:00
Compare commits
2 commits
084bdcccb1
...
9899734090
Author | SHA1 | Date | |
---|---|---|---|
|
9899734090 | ||
|
a2e5d165cb |
|
@ -374,3 +374,4 @@ 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
|
||||
|
|
|
@ -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 containing deleted data and their index
|
||||
var delete_pool := [] ## A pool that contains 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" vanising points from the current_project
|
||||
# Add the "updated" vanishing points from the current_project
|
||||
for idx in Global.current_project.vanishing_points.size():
|
||||
# Create the point
|
||||
var vanishing_point := vanishing_point_res.instantiate()
|
||||
|
|
Loading…
Reference in a new issue