mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-02-01 14:37:01 +01:00
Fix error on plugin reload.
This commit is contained in:
parent
4ef5881ad4
commit
ae56bf8b56
@ -273,7 +273,7 @@ func set_axis_z(on : bool) -> void:
|
||||
|
||||
func _notification(what):
|
||||
if what == NOTIFICATION_PREDELETE:
|
||||
if get_plugin():
|
||||
if self != null && get_plugin():
|
||||
get_plugin().unregister_gizmo(self)
|
||||
|
||||
#todo if selection type changed recalc handles aswell
|
||||
|
Loading…
Reference in New Issue
Block a user