diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2015-11-25 07:24:58 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2015-11-25 07:24:58 +0100 |
commit | 7aa2a2e62c52e27853066e393991c72c005b3a6d (patch) | |
tree | 634d4d30a02cf46a1383366f5c139283a80281f2 /tools/editor/editor_node.h | |
parent | bd10df93ec1c19405659ed82e6c7116921ba5e0c (diff) | |
parent | 8d97eef0fe634b8dba17d786123714fe83d5a4f8 (diff) |
Merge pull request #2909 from neikeq/imp_2908
Put 2D, 3D and Script editor table indexes in enum
Diffstat (limited to 'tools/editor/editor_node.h')
-rw-r--r-- | tools/editor/editor_node.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/editor/editor_node.h b/tools/editor/editor_node.h index 7d8b97688e..2b91929b94 100644 --- a/tools/editor/editor_node.h +++ b/tools/editor/editor_node.h @@ -529,6 +529,12 @@ protected: static void _bind_methods(); public: + enum EditorTable { + EDITOR_2D = 0, + EDITOR_3D, + EDITOR_SCRIPT + }; + static EditorNode* get_singleton() { return singleton; } |