Blender Git Loki
Git Commits -> Revision 8729e23
Revision 8729e23 by Lukas Toenne (master) December 11, 2015, 15:18 (GMT) |
Fix for invalid void* to typed pointer assignment in bmesh when used in C++ code. C++ does not allow the assignment of a void pointer to a typed pointer without explicit casting. Since we use a generic macro in bmesh for iterators we only ever get a void* back and cannot cast it to the target type. However, casting the target to a void* as well solves that issue. This tweak is #ifdef'd to be used in C++ code only. |
Commit Details:
Full Hash: 8729e23f2dc245d7c73d98262d3b651b7c284249
Parent Commit: e301fcf
Lines Changed: +8, -0
1 Modified Path:
/source/blender/bmesh/bmesh_class.h (+8, -0) (Diff)