You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Removed _change_notify
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
This commit is contained in:
@@ -53,6 +53,8 @@ class AudioStreamEditor : public ColorRect {
|
||||
float _current;
|
||||
bool _dragging;
|
||||
|
||||
void _audio_changed();
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
void _preview_changed(ObjectID p_which);
|
||||
@@ -63,7 +65,6 @@ protected:
|
||||
void _draw_indicator();
|
||||
void _on_input_indicator(Ref<InputEvent> p_event);
|
||||
void _seek_to(real_t p_x);
|
||||
void _changed_callback(Object *p_changed, const char *p_prop) override;
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user