Explorar o código

Fixing an issue with bone matrices weren't being properly bound for skinned animation

BearishSun %!s(int64=9) %!d(string=hai) anos
pai
achega
c0bd8e8f9f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Source/BansheeCore/Source/BsGpuParamsSet.cpp

+ 1 - 1
Source/BansheeCore/Source/BsGpuParamsSet.cpp

@@ -444,7 +444,7 @@ namespace bs
 				{
 					for (auto iter3 = validObjectParameters.begin(); iter3 != validObjectParameters.end(); ++iter3)
 					{
-						if ((*iter3)->name == (*iter2) && (*iter3)->type == iter->second.type)
+						if ((*iter3)->name == (*iter2))
 						{
 							ValidParamKey key(*iter2, paramType);
 							validParams.insert(std::make_pair(key, iter->first));