Commit 0025933f authored by Rogerborg's avatar Rogerborg

http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=31496

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-e03cc46cb475
parent e8cbe44b
...@@ -822,6 +822,9 @@ void CAnimatedMeshSceneNode::setMesh(IAnimatedMesh* mesh) ...@@ -822,6 +822,9 @@ void CAnimatedMeshSceneNode::setMesh(IAnimatedMesh* mesh)
Mesh = mesh; Mesh = mesh;
// Forget about the stored frame of any existing mesh.
MeshForCurrentFrame = 0;
// get materials and bounding box // get materials and bounding box
Box = Mesh->getBoundingBox(); Box = Mesh->getBoundingBox();
......
tests/media/Direct3D 8.1-drawPixel.png

25.7 KB | W: | H:

tests/media/Direct3D 8.1-drawPixel.png

23.4 KB | W: | H:

tests/media/Direct3D 8.1-drawPixel.png
tests/media/Direct3D 8.1-drawPixel.png
tests/media/Direct3D 8.1-drawPixel.png
tests/media/Direct3D 8.1-drawPixel.png
  • 2-up
  • Swipe
  • Onion skin
Test suite pass at GMT Tue Dec 16 17:39:02 2008 Test suite pass at GMT Wed Dec 17 11:27:14 2008
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment