diff options
author | sanikoyes <sanikoyes@163.com> | 2014-12-25 13:05:57 +0800 |
---|---|---|
committer | sanikoyes <sanikoyes@163.com> | 2014-12-25 13:05:57 +0800 |
commit | 3108517406be86077f3f801736aa6a3c7d3fcca5 (patch) | |
tree | a2795198821d66c239f9d466aa107654ed33fb0d /modules | |
parent | 530d717a67cc3acab10270dca700db328aa12891 (diff) |
Reduce android build size(-fvisibility=hidden)
Fix gridmap link error when disable_3d=Yes
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gridmap/register_types.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gridmap/register_types.cpp b/modules/gridmap/register_types.cpp index 3c3c8aa98f..887687a37b 100644 --- a/modules/gridmap/register_types.cpp +++ b/modules/gridmap/register_types.cpp @@ -27,16 +27,20 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ #include "register_types.h" +#ifndef _3D_DISABLED #include "object_type_db.h" #include "grid_map.h" #include "grid_map_editor_plugin.h" +#endif void register_gridmap_types() { +#ifndef _3D_DISABLED ObjectTypeDB::register_type<GridMap>(); #ifdef TOOLS_ENABLED EditorPlugins::add_by_type<GridMapEditorPlugin>(); #endif +#endif } |