Blender Git Loki

Git Commits -> Revision 8e54dc2

Revision 8e54dc2 by Joshua Leung (master)
January 5, 2008, 09:31 (GMT)
== Constraints - Code Cleanups ==

* Tidied up coding style of code in editconstraint.c
- removed blank lines, made whitespace-use more consistent

* Shuffled code in editconstraint.c and BIF_editconstraint.h so that it was in a more orderly fashion

* Reduced code redundancy in test_constraints
- tests which can apply to general constraints (target existance, and clashes with the owner) are not copied out for each constraint that needs it
- ChildOf constraint now gets validated too (before it was missing such checks)

* Recoded the way PyConstraints build the menu for displaying scripts available for use. It now uses dynstr instead of guessing how much memory to allocate for each entry

Commit Details:

Full Hash: 8e54dc2579d8e437d12dc25f34caf0f118a0a501
SVN Revision: 13135
Parent Commit: 8ee41f8
Lines Changed: +367, -484

3 Modified Paths:

/source/blender/include/BIF_editconstraint.h (+4, -9) (Diff)
/source/blender/src/buttons_object.c (+3, -3) (Diff)
/source/blender/src/editconstraint.c (+360, -472) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021