64aa98643d
Fix #31753 : GLSL not updated after deleting lights in multiple-scene setting
2012-08-02 15:49:20 +00:00
9c8edae7d4
fix for separate loose parts doing full depsgraph rebuild for every object split off.
2012-07-19 10:23:25 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +00:00
201e9d815a
Bugfix for [ #31829 ] Add lamp icons missing. Patch by Philipp Oeser.
...
Note: If you do code cleanups, and revert make sure you revert it correct and not halfway. ;-) r47034
2012-06-14 13:54:55 +00:00
c3a7db28d3
Fix #31657 : adding mesh objects did not take units into account for the grid
...
scale that sets the default size.
2012-05-31 16:04:03 +00:00
54b64cfd61
code cleanup: use const float and define array size
2012-05-26 22:21:56 +00:00
49b6867e0c
previous commit didnt build - add back enum and note that its a copy because of linking error
2012-05-26 00:41:11 +00:00
6dcef66468
code cleanup: remove duplicate enum
2012-05-26 00:06:30 +00:00
af3e348430
code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also replace do prefix with do_ for bool vars.
2012-05-19 13:28:19 +00:00
ed33320e3f
Code cleanup: simplify standard GHash creation.
...
Added four new functions as shortcuts to creating GHashes that use the
standard ptr/str/int/pair hash and compare functions.
GHash *BLI_ghash_ptr_new(const char *info);
GHash *BLI_ghash_str_new(const char *info);
GHash *BLI_ghash_int_new(const char *info);
GHash *BLI_ghash_pair_new(const char *info);
Replaced almost all occurrences of BLI_ghash_new() with one of the
above functions.
2012-05-16 00:51:36 +00:00
3ef11693f5
Style cleanup: displist module
2012-05-07 06:58:03 +00:00
c7b20e79cd
Style cleanup: rename BKE_metaball* to BKE_mball -- mball is more commonly used term in Blender
2012-05-07 06:38:41 +00:00
c91cee2bb9
code cleanup: naming - BKE_mesh_*
2012-05-05 21:28:12 +00:00
6292fb4cbd
code cleanup: BKE_libblock_find_name() now takes an ID constant rather then a string.
2012-05-05 17:00:11 +00:00
1dccd4c98a
code cleanup: naming - pose/armature/image
...
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05 16:03:57 +00:00
299ff91ea1
code cleanup: BKE_scene api naming.
...
also stop numpy from being found in /usr/include with cmake.
2012-05-05 14:33:36 +00:00
a731e13043
code cleanup: function naming, use BKE_*type* prefix.
2012-05-05 14:03:12 +00:00
084fedd03a
code cleanup: brush/camera naming
2012-05-05 00:58:22 +00:00
68d9e73ecd
Fix: forgot to commit these files as part of strand bugfix.
2012-05-04 12:46:51 +00:00
a5af5e8f50
style cleanup: re - http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-30 16:22:40 +00:00
343edf2722
style cleanup: function calls & whitespace.
2012-04-29 17:11:40 +00:00
f88cfd9168
Code and style cleanup in own modules in BKE and also mball module
...
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks)
- Make functions which are used by mball.c only static and remove their prototypes
from public header file.
Further cleanup is coming.
2012-04-28 16:49:00 +00:00
e2c453b5f9
style cleanup: editors / mesh & object
2012-04-28 15:42:27 +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
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
ab4a2aaf4a
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:38:07 +00:00
4c3bb77012
style cleanup: spaces aroudn operators for operator definitions.
2012-03-22 07:26:09 +00:00
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
a2c182e923
style cleanup - use aligned * prefixed blocks for descriptive comments (was already used a lot and part of proposed style guide).
2012-03-03 16:31:46 +00:00
7bbf4b7831
style cleanup
...
- spelling - turns out we had tessellation spelt wrong all over.
- use \directive for doxy (not @directive)
- remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02 16:05:54 +00:00
fdc01b49c2
Fix #30306 : crash duplicating object with action actuator but no animation data.
2012-02-23 16:12:36 +00:00
c8b53d2aaf
code style cleanup, no functional changes.
2012-02-23 02:23:42 +00:00
4966982a5a
svn merge ^/trunk/blender -r43564:43609
2012-01-22 18:04:35 +00:00
f45a8105ee
fix for 'next' being set twice in the for loop from r43588
2012-01-22 00:53:53 +00:00
Dalai Felinto
2139c7080e
patch: 'set the right Action Actuator when duplicating an object' by Daniel Macedo
...
bug and patch not in tracker. little fix by me (replace while loop by for(...;act;...). Thanks Daniel ;)
2012-01-21 23:57:28 +00:00
bc745a32d3
argument to mesh_recalcTesselation to skip copying normals from polygons.
2012-01-19 17:51:52 +00:00
bbe69705a5
svn merge ^/trunk/blender -r43420:43436
2012-01-17 02:20:23 +00:00
e1dd245a1e
more keymap edits
...
- make sure defaults are not assumed (so reuse last settings doesnt
override)
- replace 0/1 for TRUE/FALSE defines.
2012-01-16 16:12:03 +00:00
917714acf7
svn merge ^/trunk/blender -r43345:43381
2012-01-15 09:16:39 +00:00
e06d82227c
adding metaballs and lamps in local mode was broken.
2012-01-13 10:14:48 +00:00
705f23064e
svn merge ^/trunk/blender -r43294:43338
2012-01-13 01:39:57 +00:00
a2a8cc8798
use skip-save for ED_object_add_generic_props(), not essential - but it was annoying to have 'Reset' move objects to 0,0,0
2012-01-11 20:14:15 +00:00
f66f33cefc
rename RNA_property_is_set() --> RNA_struct_property_is_set() in preperation to add a second version of the function which takes the property rather then its name.
2012-01-11 16:32:12 +00:00
a7b0a11811
svn merge ^/trunk/blender -r43278:43294
2012-01-11 15:04:54 +00:00
51bada696f
Longer names support for all ID and other object names
...
This commit extends limit of ID and objects to 64 (it means 63 meaning
characters and 1 for zero-terminator). CustomData layers names are also
extended.
Changed DNA structures and all places where length constants were hardcoded.
All names which are "generating" from ID block should be limited by MAX_ID_NAME-2,
all non-id names now has got own define called MAX_NAME which should be used all
over for non-id names to make further name migration stuff easier.
All name fields in DNA now have comment with constant which corresponds to
hardcoded numeric value which should make it easier to further update this
limits or even switch to non-hardcoded values in DNA.
Special thanks to Campbell who helped figuring out some issues and helped a lot
in finding all cases where hardcoded valued were still used in code.
Both of forwards and backwards compatibility is stored with blender versions newer
than January 5, 2011. Older versions had issue with placing null-terminator to
DNA strings on file load which will lead to some unpredictable behavior or even
crashes.
2012-01-11 08:51:06 +00:00
5c6ee6b523
svn merge ^/trunk/blender -r42670:42680
2011-12-17 02:41:53 +00:00
4d6c34462c
Fix #29640 : make duplicates release keep hierarchy and parent properties not
...
working for multiple objects.
ID.newid only worked for one object, now it uses a hash instead.
2011-12-16 23:56:18 +00:00
65f3b93f14
svn merge ^/trunk/blender -r42521:42550
2011-12-10 05:38:00 +00:00
2827f57f62
global is python keyword so cant use as operator argument,
...
also ran operator cheat sheet and made sure no syntax errors.
+ minor pep8 edits.
2011-12-09 10:19:11 +00:00