Merge pull request #31747 from KoBeWi/scene_stalking
Detect external modification of scenes
This commit is contained in:
@ -111,6 +111,7 @@ public:
|
||||
struct EditedScene {
|
||||
Node *root = nullptr;
|
||||
String path;
|
||||
uint64_t file_modified_time = 0;
|
||||
Dictionary editor_states;
|
||||
List<Node *> selection;
|
||||
Vector<EditorHistory::History> history_stored;
|
||||
@ -190,6 +191,8 @@ public:
|
||||
Ref<Script> get_scene_root_script(int p_idx) const;
|
||||
void set_edited_scene_version(uint64_t version, int p_scene_idx = -1);
|
||||
uint64_t get_scene_version(int p_idx) const;
|
||||
void set_scene_modified_time(int p_idx, uint64_t p_time);
|
||||
uint64_t get_scene_modified_time(int p_idx) const;
|
||||
void clear_edited_scenes();
|
||||
void set_edited_scene_live_edit_root(const NodePath &p_root);
|
||||
NodePath get_edited_scene_live_edit_root();
|
||||
|
||||
Reference in New Issue
Block a user