mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-06 08:05:54 +01:00
Renamed WebNode's write lock acquired notification, and changed it's number.
This commit is contained in:
parent
2feba341be
commit
57775d88de
@ -379,7 +379,7 @@ void WebNode::_notification(const int what) {
|
||||
case NOTIFICATION_INTERNAL_PROCESS: {
|
||||
if (_write_lock_requested) {
|
||||
_rw_lock.write_lock();
|
||||
notification(NOTIFICATION_WEB_TREE_WRITE_LOCKED);
|
||||
notification(NOTIFICATION_WEB_NODE_WRITE_LOCKED);
|
||||
_rw_lock.write_unlock();
|
||||
|
||||
_write_lock_requested = false;
|
||||
@ -486,5 +486,5 @@ void WebNode::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_web_root"), &WebNode::get_web_root);
|
||||
ClassDB::bind_method(D_METHOD("get_parent_webnode"), &WebNode::get_parent_webnode);
|
||||
|
||||
BIND_CONSTANT(NOTIFICATION_WEB_TREE_WRITE_LOCKED);
|
||||
BIND_CONSTANT(NOTIFICATION_WEB_NODE_WRITE_LOCKED);
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ class WebNode : public Node {
|
||||
|
||||
public:
|
||||
enum {
|
||||
NOTIFICATION_WEB_TREE_WRITE_LOCKED = 2000,
|
||||
NOTIFICATION_WEB_NODE_WRITE_LOCKED = 2100,
|
||||
};
|
||||
|
||||
String get_uri_segment();
|
||||
|
Loading…
Reference in New Issue
Block a user