mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 07:03:46 +00:00
Updated move folder behavior to better update the module and asset databases of changes
added dynamic reload on editor profiles when the theme is changed via editor Adjusted direct filename fields to just be hidden, not disabled(avoids breaking legacy content) Added ability to update asset references in a given folder path Added WIP ability to scan for and update module dependencies
This commit is contained in:
parent
2f16446031
commit
c0d6cc36f5
8 changed files with 130 additions and 16 deletions
|
|
@ -171,10 +171,8 @@ void VolumetricFog::initPersistFields()
|
|||
addProtectedField("shapeAsset", TypeShapeAssetPtr, Offset(mShapeAsset, VolumetricFog),
|
||||
&VolumetricFog::_setShapeAsset, &defaultProtectedGetFn, "The source shape asset.");
|
||||
|
||||
#ifdef TORQUE_ALLOW_DIRECT_FILENAMES
|
||||
addField("shapeName", TypeShapeFilename, Offset(mShapeName, VolumetricFog),
|
||||
"Path and filename of the model file (.DTS, .DAE) to use for this Volume.");
|
||||
#endif
|
||||
"Path and filename of the model file (.DTS, .DAE) to use for this Volume.", AbstractClassRep::FieldFlags::FIELD_HideInInspectors );
|
||||
|
||||
addField("FogColor", TypeColorI, Offset(mFogColor, VolumetricFog),
|
||||
"Fog color RGBA (Alpha is ignored)");
|
||||
|
|
@ -1374,4 +1372,4 @@ DefineEngineMethod(VolumetricFog, isInsideFog, bool, (), ,
|
|||
"@brief returns true if control object is inside the fog\n\n.")
|
||||
{
|
||||
return object->isInsideFog();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue