From eff2931b2ab4db9d47d822e5ef66dce941c90d98 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 25 Aug 2015 00:08:45 -0300 Subject: Multiple, simultaneous node editing spuport!! ..but will you be brave enough to try it? :) --- tools/editor/editor_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/editor/editor_data.h') diff --git a/tools/editor/editor_data.h b/tools/editor/editor_data.h index cbec2295f6..f888e3c14f 100644 --- a/tools/editor/editor_data.h +++ b/tools/editor/editor_data.h @@ -45,7 +45,7 @@ class EditorHistory { struct Obj { - RES res; + REF ref; ObjectID object; String property; }; -- cgit v1.2.3 From 688047a4c95e688984c8000722e9fd368d3bced6 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 1 Sep 2015 00:49:47 -0300 Subject: -removed resources dock, good bye old friend --- tools/editor/editor_data.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools/editor/editor_data.h') diff --git a/tools/editor/editor_data.h b/tools/editor/editor_data.h index f888e3c14f..c5ee83ae63 100644 --- a/tools/editor/editor_data.h +++ b/tools/editor/editor_data.h @@ -75,10 +75,17 @@ friend class EditorData; public: + bool is_at_begining() const; + bool is_at_end() const; + void add_object(ObjectID p_object); void add_object(ObjectID p_object,const String& p_subprop); void add_object(ObjectID p_object,int p_relevel); + int get_history_len(); + int get_history_pos(); + ObjectID get_history_obj(int p_obj) const; + bool next(); bool previous(); ObjectID get_current(); -- cgit v1.2.3