Forget about the cached mesh frame for animated mesh scene nodes when the mesh is changed. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1963 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
e8cbe44b1f
commit
0025933fb0
|
@ -822,6 +822,9 @@ void CAnimatedMeshSceneNode::setMesh(IAnimatedMesh* mesh)
|
|||
|
||||
Mesh = mesh;
|
||||
|
||||
// Forget about the stored frame of any existing mesh.
|
||||
MeshForCurrentFrame = 0;
|
||||
|
||||
// get materials and bounding box
|
||||
Box = Mesh->getBoundingBox();
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 23 KiB |
|
@ -1,2 +1,2 @@
|
|||
Test suite pass at GMT Tue Dec 16 17:39:02 2008
|
||||
Test suite pass at GMT Wed Dec 17 11:27:14 2008
|
||||
|
||||
|
|
Loading…
Reference in New Issue