Reduce android build size(-fvisibility=hidden)
Fix gridmap link error when disable_3d=Yes
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user