forked from bartvdbraak/blender
e435fbc3c5
All data layers, including MVert/MEdge/MFace, are now managed as custom data layers. The pointers like Mesh.mvert, Mesh.dvert or Mesh.mcol are still used of course, but allocating, copying or freeing these arrays should be done through the CustomData API. Work in progress documentation on this is here: http://mediawiki.blender.org/index.php/BlenderDev/BlenderArchitecture/CustomData Replaced TFace by MTFace: This is the same struct, except that it does not contain color, that now always stays separated in MCol. This was not a good design decision to begin with, and it is needed for adding multiple color layers later. Note that this does mean older Blender versions will not be able to read UV coordinates from the next release, due to an SDNA limitation. Removed DispListMesh: This now fully replaced by DerivedMesh. To provide access to arrays of vertices, edges and faces, like DispListMesh does. The semantics of the DerivedMesh.getVertArray() and similar functions were changed to return a pointer to an array if one exists, or otherwise allocate a temporary one. On releasing the DerivedMesh, this temporary array will be removed automatically. Removed ssDM and meshDM DerivedMesh backends: The ssDM backend was for DispListMesh, so that became obsolete automatically. The meshDM backend was replaced by the custom data backend, that now figures out which layers need to be modified, and only duplicates those. This changes code in many places, and overall removes 2514 lines of code. So, there's a good chance this might break some stuff, although I've been testing it for a few days now. The good news is, adding multiple color and uv layers should now become easy. |
||
---|---|---|
.. | ||
BL_ActionActuator.cpp | ||
BL_ActionActuator.h | ||
BL_ArmatureObject.cpp | ||
BL_ArmatureObject.h | ||
BL_BlenderDataConversion.cpp | ||
BL_BlenderDataConversion.h | ||
BL_DeformableGameObject.cpp | ||
BL_DeformableGameObject.h | ||
BL_MeshDeformer.cpp | ||
BL_MeshDeformer.h | ||
BL_SkinDeformer.cpp | ||
BL_SkinDeformer.h | ||
BL_SkinMeshObject.cpp | ||
BL_SkinMeshObject.h | ||
BlenderWorldInfo.cpp | ||
BlenderWorldInfo.h | ||
CMakeLists.txt | ||
KX_BlenderScalarInterpolator.cpp | ||
KX_BlenderScalarInterpolator.h | ||
KX_BlenderSceneConverter.cpp | ||
KX_BlenderSceneConverter.h | ||
KX_ConvertActuators.cpp | ||
KX_ConvertActuators.h | ||
KX_ConvertControllers.cpp | ||
KX_ConvertControllers.h | ||
KX_ConvertProperties.cpp | ||
KX_ConvertProperties.h | ||
KX_ConvertSensors.cpp | ||
KX_ConvertSensors.h | ||
KX_IpoConvert.cpp | ||
KX_IpoConvert.h | ||
Makefile | ||
SConscript |