Main repository of MikuMikuStudio
Revision | 58e3f7552a94f441f93bb3ba463ea3a8af3d5e5a (tree) |
---|---|
Time | 2013-04-30 02:14:58 |
Author | ShadowIsLord@gmail.com <ShadowIsLord@gmai...> |
Commiter | ShadowIsLord@gmail.com |
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10586 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -289,8 +289,9 @@ public class SkeletonControl extends AbstractControl implements Cloneable { | ||
289 | 289 | |
290 | 290 | @Override |
291 | 291 | protected void controlRender(RenderManager rm, ViewPort vp) { |
292 | - updateTargetsAndMaterials(spatial); | |
293 | 292 | if (!wasMeshUpdated) { |
293 | + updateTargetsAndMaterials(spatial); | |
294 | + | |
294 | 295 | // Prevent illegal cases. These should never happen. |
295 | 296 | assert hwSkinningTested || (!hwSkinningTested && !hwSkinningSupported && !hwSkinningEnabled); |
296 | 297 | assert !hwSkinningEnabled || (hwSkinningEnabled && hwSkinningTested && hwSkinningSupported); |