godotengine / godot-cpp

C++ bindings for the Godot script API
MIT License
1.73k stars 570 forks source link

Register new properties and signals don't update the engine if it's already opened. #231

Open ricardoalcantara opened 5 years ago

ricardoalcantara commented 5 years ago

I don't know if it's a bug, but after I recompile the lib .so on Linux and change de window do the Godot Engine, that was previously opened, it doesn't recognize the new properties and signals recently built. Just after I close and reopen the Engine that it recognizes those new properties and signals, I suppose it must behave the same way for new methods.

Is it how it suppose to work?

karroffel commented 5 years ago

Might be that you have to reload the property panel after a recompile, I don't remember :/

For methods it shouldn't be a problem at all, since unless you have tool scripts you start a new process which loads the library on its own anyway.

ricardoalcantara commented 5 years ago

Same issue https://github.com/godotengine/godot/issues/25812