mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
FCollada changes to ptloader
This commit is contained in:
parent
ecb6b7f507
commit
40aad1a910
@ -5,7 +5,7 @@
|
||||
#define BUILDING_DLL BUILDING_PTLOADER
|
||||
#define LOCAL_LIBS \
|
||||
fltegg flt lwoegg lwo dxfegg dxf vrmlegg pvrml xfileegg xfile \
|
||||
converter pandatoolbase
|
||||
converter pandatoolbase $[if $[HAVE_FCOLLADA],daeegg]
|
||||
#define OTHER_LIBS \
|
||||
egg2pg:c egg:c pandaegg:m \
|
||||
pstatclient:c mathutil:c linmath:c putil:c \
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "vrmlToEggConverter.h"
|
||||
#include "config_xfile.h"
|
||||
#include "xFileToEggConverter.h"
|
||||
#include "daeToEggConverter.h"
|
||||
|
||||
#include "dconfig.h"
|
||||
#include "loaderFileTypeRegistry.h"
|
||||
@ -79,6 +80,11 @@ init_libptloader() {
|
||||
XFileToEggConverter *xfile = new XFileToEggConverter;
|
||||
reg->register_type(new LoaderFileTypePandatool(xfile));
|
||||
|
||||
#ifdef HAVE_FCOLLADA
|
||||
DAEToEggConverter *dae = new DAEToEggConverter;
|
||||
reg->register_type(new LoaderFileTypePandatool(dae));
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MAYA
|
||||
// Register the Maya converter as a deferred type. We don't compile
|
||||
// it in directly, because it's big and bulky; we don't need to
|
||||
|
Loading…
x
Reference in New Issue
Block a user