Fix Object::notification order
Previously the `p_reversed` parameter didn't influence the order in a correct way. Also script overridden _notification functions were not called in the correct order. To fix this some `notification` functions had to add a `p_reversed` parameter. This made it necessary to adjust cpp-bindings. Co-authored-by: David Snopek <dsnopek@gmail.com>
This commit is contained in:
@ -283,8 +283,8 @@ public:
|
||||
|
||||
const Variant get_rpc_config() const override;
|
||||
|
||||
void notification(int p_notification) override;
|
||||
void _call_notification(int p_notification);
|
||||
void notification(int p_notification, bool p_reversed = false) override;
|
||||
void _call_notification(int p_notification, bool p_reversed = false);
|
||||
|
||||
String to_string(bool *r_valid) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user