Blender Git Loki
Git Commits -> Revision f807b27
Revision f807b27 by Ray molenkamp (master) August 26, 2020, 17:42 (GMT) |
Cleanup: Fix const warning with BLI_array_free when you call the BLI_array_free macro with a const pointer you get a warning when the macro calls `MEM_freeN` (warning C4090: 'function': different 'const' qualifiers) This was warning originating from `smart_uv_project_calculate_project_normals` in `uvedit_unwrap_ops.c` Normally we resolve these with a non const cast at the callsite but given BLI_array_free is a macro not a function this is not an option here and it has to be resolved in the macro. |
Commit Details:
Full Hash: f807b27b677d18d32ab08d1f4f27c6829c2d8bd8
Parent Commit: 0498feb
Lines Changed: +1, -1
1 Modified Path:
/source/blender/blenlib/BLI_array.h (+1, -1) (Diff)