6607fc7da9
Ports FBX module from 3.2 branch to 4.0 This is the only time the plugin will be updated from 3.2 and marks the final time we do this, from now on we will backport FBX to 3.2 with fixes. Changelog: - fixed crash importing files with buggy format (because of bad newlines in ASCII data, this is yet to be fixed fully) - fixed const correctness with C++/C version change - rewrote material handling to be simpler and better - ports from 3.2 to 4.0 the fbx importer
15 lines
489 B
Python
15 lines
489 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_fbx = env_modules.Clone()
|
|
|
|
# Make includes relative to the folder path specified here so our includes are clean
|
|
env_fbx.Prepend(CPPPATH=["#modules/fbx/"])
|
|
|
|
# Godot's own source files
|
|
env_fbx.add_source_files(env.modules_sources, "tools/*.cpp")
|
|
env_fbx.add_source_files(env.modules_sources, "data/*.cpp")
|
|
env_fbx.add_source_files(env.modules_sources, "fbx_parser/*.cpp")
|
|
env_fbx.add_source_files(env.modules_sources, "*.cpp")
|