• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

Revision58e3f7552a94f441f93bb3ba463ea3a8af3d5e5a (tree)
Time2013-04-30 02:14:58
AuthorShadowIsLord@gmail.com <ShadowIsLord@gmai...>
CommiterShadowIsLord@gmail.com

Log Message

  • SkeletonControl: Update targets and materials only for the first camera in which a model is rendered.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10586 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

Change Summary

Incremental Difference

--- a/engine/src/core/com/jme3/animation/SkeletonControl.java
+++ b/engine/src/core/com/jme3/animation/SkeletonControl.java
@@ -289,8 +289,9 @@ public class SkeletonControl extends AbstractControl implements Cloneable {
289289
290290 @Override
291291 protected void controlRender(RenderManager rm, ViewPort vp) {
292- updateTargetsAndMaterials(spatial);
293292 if (!wasMeshUpdated) {
293+ updateTargetsAndMaterials(spatial);
294+
294295 // Prevent illegal cases. These should never happen.
295296 assert hwSkinningTested || (!hwSkinningTested && !hwSkinningSupported && !hwSkinningEnabled);
296297 assert !hwSkinningEnabled || (hwSkinningEnabled && hwSkinningTested && hwSkinningSupported);