Merge branch 'master' into fix/3365
commit
206f28b8ad
|
@ -130,6 +130,7 @@ void FBXImporter::SetupProperties(const Importer *pImp) {
|
||||||
settings.readCameras = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_READ_CAMERAS, true);
|
settings.readCameras = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_READ_CAMERAS, true);
|
||||||
settings.readLights = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_READ_LIGHTS, true);
|
settings.readLights = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_READ_LIGHTS, true);
|
||||||
settings.readAnimations = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_READ_ANIMATIONS, true);
|
settings.readAnimations = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_READ_ANIMATIONS, true);
|
||||||
|
settings.readWeights = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_READ_WEIGHTS, true);
|
||||||
settings.strictMode = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_STRICT_MODE, false);
|
settings.strictMode = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_STRICT_MODE, false);
|
||||||
settings.preservePivots = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_PRESERVE_PIVOTS, true);
|
settings.preservePivots = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_PRESERVE_PIVOTS, true);
|
||||||
settings.optimizeEmptyAnimationCurves = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_OPTIMIZE_EMPTY_ANIMATION_CURVES, true);
|
settings.optimizeEmptyAnimationCurves = pImp->GetPropertyBool(AI_CONFIG_IMPORT_FBX_OPTIMIZE_EMPTY_ANIMATION_CURVES, true);
|
||||||
|
|
|
@ -260,7 +260,7 @@ void DefaultLogger::kill() {
|
||||||
// ----------------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------------
|
||||||
// Debug message
|
// Debug message
|
||||||
void DefaultLogger::OnDebug(const char *message) {
|
void DefaultLogger::OnDebug(const char *message) {
|
||||||
if (m_Severity < Logger::DEBUG) {
|
if (m_Severity < Logger::DEBUGGING) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -73,9 +73,9 @@ public:
|
||||||
* @brief Log severity to describe the granularity of logging.
|
* @brief Log severity to describe the granularity of logging.
|
||||||
*/
|
*/
|
||||||
enum LogSeverity {
|
enum LogSeverity {
|
||||||
NORMAL, //!< Normal granularity of logging
|
NORMAL, ///< Normal granularity of logging
|
||||||
DEBUG, //!< Debug messages will be logged, but not verbose debug messages.
|
DEBUGGING, ///< Debug messages will be logged, but not verbose debug messages.
|
||||||
VERBOSE //!< All messages will be logged
|
VERBOSE ///< All messages will be logged
|
||||||
};
|
};
|
||||||
|
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
|
|
|
@ -615,6 +615,15 @@ enum aiComponent
|
||||||
#define AI_CONFIG_IMPORT_FBX_READ_ANIMATIONS \
|
#define AI_CONFIG_IMPORT_FBX_READ_ANIMATIONS \
|
||||||
"IMPORT_FBX_READ_ANIMATIONS"
|
"IMPORT_FBX_READ_ANIMATIONS"
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
/** @brief Set whether the fbx importer will read weights.
|
||||||
|
*
|
||||||
|
* The default value is true (1)
|
||||||
|
* Property type: bool
|
||||||
|
*/
|
||||||
|
#define AI_CONFIG_IMPORT_FBX_READ_WEIGHTS \
|
||||||
|
"IMPORT_FBX_READ_WEIGHTS"
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Set whether the fbx importer will act in strict mode in which only
|
/** @brief Set whether the fbx importer will act in strict mode in which only
|
||||||
* FBX 2013 is supported and any other sub formats are rejected. FBX 2013
|
* FBX 2013 is supported and any other sub formats are rejected. FBX 2013
|
||||||
|
|
Loading…
Reference in New Issue