Merge pull request #6968 from neikeq/pr-register-trnglmesh

Core: Register TriangleMesh type
This commit is contained in:
Ignacio Etcheverry 2016-11-12 14:01:59 +01:00 committed by GitHub
commit c93c2a6be8
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include "os/main_loop.h" #include "os/main_loop.h"
#include "io/packet_peer.h" #include "io/packet_peer.h"
#include "math/a_star.h" #include "math/a_star.h"
#include "math/triangle_mesh.h"
#include "globals.h" #include "globals.h"
#include "object_type_db.h" #include "object_type_db.h"
#include "geometry.h" #include "geometry.h"
@ -134,6 +135,7 @@ void register_core_types() {
ObjectTypeDB::register_type<PHashTranslation>(); ObjectTypeDB::register_type<PHashTranslation>();
ObjectTypeDB::register_type<UndoRedo>(); ObjectTypeDB::register_type<UndoRedo>();
ObjectTypeDB::register_type<HTTPClient>(); ObjectTypeDB::register_type<HTTPClient>();
ObjectTypeDB::register_type<TriangleMesh>();
ObjectTypeDB::register_virtual_type<ResourceInteractiveLoader>(); ObjectTypeDB::register_virtual_type<ResourceInteractiveLoader>();