Main repository of MikuMikuStudio
リビジョン | 565d777b781cb1b199b87836c78bf3de9168fe68 (tree) |
---|---|
日時 | 2013-06-06 05:17:47 |
作者 | remy.bouquet@gmail.com <remy.bouquet@gmai...> |
コミッター | remy.bouquet@gmail.com |
GeometryBatchFactory, fixed wrong model bounds updating
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10642 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -333,10 +333,10 @@ public class GeometryBatchFactory { | ||
333 | 333 | makeLods(geomsForMat, mesh); |
334 | 334 | } |
335 | 335 | mesh.updateCounts(); |
336 | - mesh.updateBound(); | |
337 | - | |
336 | + | |
338 | 337 | Geometry out = new Geometry("batch[" + (batchNum++) + "]", mesh); |
339 | 338 | out.setMaterial(mat); |
339 | + out.updateModelBound(); | |
340 | 340 | retVal.add(out); |
341 | 341 | } |
342 | 342 |