Commits

Seraph Linden  committed bcf512f

Fix for compile error.

  • Participants
  • Parent commits 514b814

Comments (0)

Files changed (1)

File indra/newview/llphysicsmotion.cpp

 			// If this is one of our "hidden" driver params, then make sure it's
 			// the default value.
 			if ((driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE) &&
-			    (driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT) &&
-			    (driver_param->getVisualParamWeight() != 0))
+			    (driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT))
 			{
 				mCharacter->setVisualParamWeight(driver_param,
 								 0,