|
@@ -171,10 +171,8 @@ void VolumetricFog::initPersistFields()
|
|
addProtectedField("shapeAsset", TypeShapeAssetPtr, Offset(mShapeAsset, VolumetricFog),
|
|
addProtectedField("shapeAsset", TypeShapeAssetPtr, Offset(mShapeAsset, VolumetricFog),
|
|
&VolumetricFog::_setShapeAsset, &defaultProtectedGetFn, "The source shape asset.");
|
|
&VolumetricFog::_setShapeAsset, &defaultProtectedGetFn, "The source shape asset.");
|
|
|
|
|
|
-#ifdef TORQUE_ALLOW_DIRECT_FILENAMES
|
|
|
|
addField("shapeName", TypeShapeFilename, Offset(mShapeName, VolumetricFog),
|
|
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),
|
|
addField("FogColor", TypeColorI, Offset(mFogColor, VolumetricFog),
|
|
"Fog color RGBA (Alpha is ignored)");
|
|
"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.")
|
|
"@brief returns true if control object is inside the fog\n\n.")
|
|
{
|
|
{
|
|
return object->isInsideFog();
|
|
return object->isInsideFog();
|
|
-}
|
|
|
|
|
|
+}
|