diff options
Diffstat (limited to 'editor/editor_inspector.h')
-rw-r--r-- | editor/editor_inspector.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/editor/editor_inspector.h b/editor/editor_inspector.h index dccbdb9a73..58511a17fe 100644 --- a/editor/editor_inspector.h +++ b/editor/editor_inspector.h @@ -37,6 +37,21 @@ class UndoRedo; +class EditorDefaultClassValueCache : public Object { + GDCLASS(EditorDefaultClassValueCache,Object) + + Map<StringName,Map<StringName,Variant> > default_values; + + static EditorDefaultClassValueCache *singleton; +public: + + static EditorDefaultClassValueCache *get_singleton(); + + Variant get_default_value(const StringName& p_class,const StringName& p_property); + EditorDefaultClassValueCache(); +}; + + class EditorProperty : public Container { GDCLASS(EditorProperty, Container) |