Blender Git Loki
Git Commits -> Revision 13dfd82
Revision 13dfd82 by Campbell Barton (master) September 20, 2011, 06:25 (GMT) |
changes for materials to treat them as shorts not int/chars (since they are stored as shorts intermally) - converting nurbs to mesh was casting the material to unsigned char. - subsurf was casting to char, then int -> short in a loop. - have material functions take & return shorts. |
Commit Details:
Full Hash: 13dfd8299758a5248613624e99a1643f35e2ff4e
SVN Revision: 40382
Parent Commit: 2b1513d
Lines Changed: +78, -59
16 Modified Paths:
/build_files/cmake/cmake_static_check_splint.py (+4, -0) (Diff)
/source/blender/blenkernel/BKE_material.h (+6, -6) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/material.c (+42, -31) (Diff)
/source/blender/blenkernel/intern/mesh.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+3, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/collada/GeometryExporter.cpp (+1, -1) (Diff)
/source/blender/collada/GeometryExporter.h (+1, -1) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/collada/MeshImporter.h (+1, -1) (Diff)
/source/blender/editors/mesh/meshtools.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_material_types.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+2, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+6, -5) (Diff)
/source/blender/blenkernel/BKE_material.h (+6, -6) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/material.c (+42, -31) (Diff)
/source/blender/blenkernel/intern/mesh.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+3, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/collada/GeometryExporter.cpp (+1, -1) (Diff)
/source/blender/collada/GeometryExporter.h (+1, -1) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/collada/MeshImporter.h (+1, -1) (Diff)
/source/blender/editors/mesh/meshtools.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_material_types.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+2, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+6, -5) (Diff)