godot-extended-libraries / godot-next

Godot Node Extensions - Basic Node Extensions for Godot Engine
MIT License
964 stars 61 forks source link

CallbackDelegator's data isn't loaded when opening the scene #12

Closed willnationsdev closed 5 years ago

willnationsdev commented 5 years ago

You can save the data into the scene, and the data shows up inside the scene file, but the node doesn't correctly reload the data if you close and re-open the scene.

cc @xDGameStudios

willnationsdev commented 5 years ago

Courtesy of @xDGameStudios, it looks like this bug is related to ResourceSet._refresh_data() when it updates ClassType's data. I'm gonna start digging to see why _class_type.res = <value> isn't equivalent to ClassType.new(value) (cause it should be).

willnationsdev commented 5 years ago

Fixed by 0b6b89a.