Преглед на файлове

Bugfix: Freezing animations will now properly hold the frozen state instead of breaking the mesh

BearishSun преди 8 години
родител
ревизия
2622bb6bd0
променени са 1 файла, в които са добавени 0 реда и са изтрити 7 реда
  1. 0 7
      Source/BansheeCore/Animation/BsAnimation.cpp

+ 0 - 7
Source/BansheeCore/Animation/BsAnimation.cpp

@@ -1358,13 +1358,6 @@ namespace bs
 			}
 		}
 
-		// Disable sampled animations
-		for (auto& clipInfo : mClipInfos)
-		{
-			if (clipInfo.playbackType == AnimPlaybackType::Sampled)
-				clipInfo.playbackType = AnimPlaybackType::None;
-		}
-
 		mDirty = AnimDirtyState();
 	}