Commits

Stinson Linden committed 7e8393a

MAINT-1890: A hacky fix for flexi-prim updates after teleport by ignoring the sUpdateDelay value and simply updating all flexi-prims. This change most likely reduces frame rate.

  • Participants
  • Parent commits 84123d3

Comments (0)

Files changed (1)

File indra/newview/llflexibleobject.cpp

 //static
 void LLVolumeImplFlexible::updateClass()
 {
+#ifdef XXX_STINSON_HACK_FIX
 	std::vector<S32>::iterator delay_iter = sUpdateDelay.begin();
 
 	for (std::vector<LLVolumeImplFlexible*>::iterator iter = sInstanceList.begin();
 		}
 		++delay_iter;
 	}
+#else // XXX_STINSON_HACK_FIX
+	for (std::vector<LLVolumeImplFlexible*>::iterator iter = sInstanceList.begin();
+		iter != sInstanceList.end();
+		++iter)
+	{
+		(*iter)->doIdleUpdate();
+	}
+#endif // XXX_STINSON_HACK_FIX
 }
 
 LLVector3 LLVolumeImplFlexible::getFramePosition() const