ecere/gfx/3D/Object: Fixed broken Merge(), mix-up in translucent primitives
authorJerome St-Louis <jerome@ecere.com>
Mon, 21 Dec 2015 18:51:03 +0000 (13:51 -0500)
committerJerome St-Louis <jerome@ecere.com>
Mon, 21 Dec 2015 18:51:03 +0000 (13:51 -0500)
commit2a8accf39b9fd5225a35c38b9c16723574b55d27
tree5f7660e0fa0f41424642405b0e75161fdda84bf0
parent126614c65f5d6747169d988e4f0ab8b9c314a38a
ecere/gfx/3D/Object: Fixed broken Merge(), mix-up in translucent primitives
- This corrects intent of commit 27bffcf3986d3f19be37c03317e47d70a8d2940e which only checked mesh flag of root node
- This was preventing materials from being applied to models in walkAround sample
- There were 2 bugs in translucent primitives merging: memcpy size and indices/indices32 mix-up, which was probably
  the original crash intended to be fixed.
ecere/src/gfx/3D/Object.ec