mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-02-01 14:37:01 +01:00
Fix an error, remove a now unneeded comment, and an apply call.
This commit is contained in:
parent
2217c1d4dc
commit
e0db0b0379
@ -114,15 +114,15 @@ func redraw():
|
||||
if _mdr.array.size() != ArrayMesh.ARRAY_MAX:
|
||||
return
|
||||
|
||||
if !get_plugin():
|
||||
return
|
||||
|
||||
var handles_material : SpatialMaterial = get_plugin().get_material("handles", self)
|
||||
var material = get_plugin().get_material("main", self)
|
||||
|
||||
_mesh_outline_generator.setup(_mdr)
|
||||
add_lines(_mesh_outline_generator.lines, material, false)
|
||||
|
||||
#displace selected handle verts too on drag, so this code just works.
|
||||
#draw handles though instead ov vertices
|
||||
|
||||
var vs : PoolVector3Array = PoolVector3Array()
|
||||
|
||||
for i in _selected_points:
|
||||
@ -178,7 +178,6 @@ func forward_spatial_gui_input(index, camera, event):
|
||||
else:
|
||||
_selected_points.resize(0)
|
||||
|
||||
apply()
|
||||
redraw()
|
||||
else:
|
||||
is_dragging = false
|
||||
|
Loading…
Reference in New Issue
Block a user