Browse Source

force a volume refresh on levelinfo AccuTexture change

Azaezel 9 years ago
parent
commit
e0e1cbb3be
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Engine/source/T3D/levelInfo.cpp

+ 2 - 1
Engine/source/T3D/levelInfo.cpp

@@ -36,7 +36,7 @@
 #include "math/mathIO.h"
 
 #include "torqueConfig.h"
-
+#include "T3D/accumulationVolume.h"
 
 IMPLEMENT_CO_NETOBJECT_V1(LevelInfo);
 
@@ -377,4 +377,5 @@ void LevelInfo::setLevelAccuTexture(const String& name)
       else
          gLevelAccuMap = mAccuTexture;
    }
+   AccumulationVolume::refreshVolumes();
 }