Commit Graph

22 Commits

Author SHA1 Message Date
858ff6b696 Fix for [#34898] Typo in error message of mathutils.Vector
* Also fixed some more cases of "more then" -> "more than".
2013-04-07 15:09:06 +00:00
38cee985bb code cleanup: style & warnings. 2013-01-21 02:30:40 +00:00
7c75bfd744 minor change r53918 was supposed to resolve. 2013-01-20 11:54:43 +00:00
8aa891ac6d correction for msvc2008 2013-01-20 08:43:44 +00:00
23af6743c7 code cleanup: BLI_array.h's BLI_array_grow_items macro was unmanageable.
moved the main re-alloc logic into a C function.
2013-01-19 07:35:55 +00:00
f25618f29a make Node.links return a tuple, this may you can't do socket.links.append() by mistake.
removed RNAMeta mixin class since you cant register subclasses.

also some minor code cleanup
2012-12-21 12:16:13 +00:00
0f97d53c74 add include so alloca() is found on mingw. 2012-12-13 11:59:07 +00:00
1eadcf743d fix for building with msvc 2012-12-11 15:29:08 +00:00
71730f26d7 replace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() which uses stack memory always and doesn't need to be freed explicitly. 2012-12-11 15:10:19 +00:00
6857d31180 fix [#33305] Bevel tool crashes Blender if the number of segments exceeds 28
this was infact a general bug in BLI_array_grow_items(), surprising we didnt run into it before.
- growing the array for the first time would use the static var even if it wasn't big enough.
2012-11-26 04:58:33 +00:00
b96c622015 style cleanup 2012-08-11 22:12:32 +00:00
0107385f7f code cleanup: ensure macros require ';' endings 2012-08-08 21:20:10 +00:00
15cb064e1b style cleanup 2012-06-25 07:24:48 +00:00
9892736206 code cleanup: header cleanup and remove some duplicate defines. 2012-05-12 20:39:39 +00:00
ef054e165c style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros. 2012-04-28 15:14:16 +00:00
2118d3c19c code cleanup: bmesh comments/todos, no functional changes. 2012-04-26 08:27:50 +00:00
792f536b36 code cleanup: better use of BLI_array_* (grow in larger steps where possible), include BMO_iter_new in for loops. 2012-04-23 02:17:57 +00:00
8fa17c5362 code cleanup: no functional changes
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead.
- quiet warnings in editmesh_slide.c
- cleanup comments in bmesh and some other minor comment additions.
2012-04-07 12:37:15 +00:00
ea13ec1699 Spelling Cleanup 2012-03-01 12:20:18 +00:00
4450039734 Change texface draw to always use glShadeModel(GL_SMOOTH), with texface draw.
without this each face would get a solid color, this is the same method used in object mode.

also copy BLI_array.h fix from bmesh branch.
2012-02-19 03:10:11 +00:00
99dc4ec691 BLI_array_reserve from bmesh. 2012-01-23 19:42:22 +00:00
ca94cb1237 merge bleshes BLI_array header lib into trunk. 2011-12-28 13:40:14 +00:00