AzaezelX 1 lună în urmă
părinte
comite
7aa4ea75a6
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Engine/source/postFx/postEffect.cpp

+ 1 - 1
Engine/source/postFx/postEffect.cpp

@@ -538,7 +538,7 @@ void PostEffect::initPersistFields()
    addField( "targetScale", TypePoint2F, Offset( mTargetScale, PostEffect ),
        "If targetSize is zero this is used to set a relative size from the current target." );
 
-   addField("mipCap", TypePoint2F, Offset(mMipCap, PostEffect),
+   addField("mipCap", TypeS32, Offset(mMipCap, PostEffect),
       "generate up to this many mips. 0 = all, 1 = none, >1 = as specified max."); //todo: de-stupid
        
    addField( "targetSize", TypePoint2I, Offset( mTargetSize, PostEffect ),