Blender Git Commit Log

Git Commits -> Revision 01a2253

Revision 01a2253 by Lukas Toenne (particles_refactor)
April 22, 2014, 13:52 (GMT)
Fix for dupli type bit flags exceeding short range.

The nparticle dupli flag was using 1<<15, which gives issues with signed
short variables. Fortunately there are unused bits in the
Object.transflag, now reuse the deprecated OB_POWERTRACK flag for this.

Also replaced dupli context int type with short to avoid errors with
strict compiler flags.

Commit Details:

Full Hash: 01a2253dfd14f4c5564fd203adefb6dedccec670
Parent Commit: 4684f2c
Lines Changed: +2, -3

2 Modified Paths:

/source/blender/blenkernel/intern/object_dupli.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+1, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021