Campbell Barton
699030ceb6
use const for readonly strings and set some functions to static
2011-10-27 14:41:26 +00:00
Campbell Barton
da8a7928c9
svn merge ^/trunk/blender -r41230:41266
2011-10-24 23:06:27 +00:00
Campbell Barton
15e6d6cd75
svn merge ^/trunk/blender -r41226:41227 .
2011-10-24 12:43:08 +00:00
Campbell Barton
70bf00a74c
svn merge ^/trunk/blender -r41200:41226 .
2011-10-24 08:45:55 +00:00
Campbell Barton
ad1d3dd30f
svn merge ^/trunk/blender -r41175:41200 --- will need to apply fix after
2011-10-24 07:56:42 +00:00
Campbell Barton
0503a4f7a6
svn merge ^/trunk/blender -r41100:41150
2011-10-24 04:18:28 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Campbell Barton
67e744ccf0
fix some typo's
2011-10-23 15:27:36 +00:00
Miika Hamalainen
e441c71f77
Dynamic Paint:
...
* Fixed a memory leak from previous commit.
2011-10-22 17:15:32 +00:00
Brecht Van Lommel
29f279e43d
Render API: add update_progress() function to update progress bar progress from
...
external render engines.
Also refactoring to move some render engine registration stuff out of RNA and
into render module.
2011-10-22 17:01:54 +00:00
Miika Hamalainen
d4541fd891
Merge with trunk r41197
2011-10-22 16:43:23 +00:00
Brecht Van Lommel
1bdf652b89
Code refactoring: move external engine functions into own file.
2011-10-22 16:24:28 +00:00
Miika Hamalainen
30cba27987
Dynamic Paint:
...
* Some changes and cleanup pointed on the codereview.
2011-10-22 16:16:14 +00:00
Brecht Van Lommel
e417e011d5
Code cleanup: file operations merged into single header, some function names
...
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22 15:35:49 +00:00
Brecht Van Lommel
88473fd49a
Code cleanup: remove BLI_exist, now there is only BLI_exists. One function just
...
called the other, they did the same thing.
2011-10-21 22:33:41 +00:00
Brecht Van Lommel
00735ed9e4
Code cleanup: don't use btempdir/bprogdir/bprogname globals anymore, but wrap
...
in BLI_ functions.
2011-10-21 17:37:38 +00:00
Sergey Sharybin
e02dfe4a79
Fix #28938 : Black frames when composite output node even with disabled nodes
2011-10-20 08:32:26 +00:00
Campbell Barton
5cf593a778
strcpy() --> BLI_strncpy(), where source strings are not fixed and target size is known.
2011-10-19 23:10:54 +00:00
Lukas Toenne
0d7bd0f9b6
Adds an update flag to the bNode struct (similar to bNodeTree->update).
...
This prevents access to non-existent typeinfo during type initialization,
when node types have been removed and such nodes are deleted from older files.
All blenkernel functions now only set the node->update flag instead of directly
calling the update function. All operators, etc. calling blenkernel functions
to modify nodes should make a ntreeUpdate call afterward (they already did that
anyway).
Editor/RNA/renderer/etc. high-level functions still can do immediate updates by
using nodeUpdate and nodeUpdateID (replacing NodeTagChanged/NodeTagIDChanged
respectively). These old functions were previously used only for setting
compositor node needexec flags and clearing cached data, but have become generic
update functions that require type-specific functionality (i.e. a valid typeinfo
struct).
2011-10-19 17:08:35 +00:00
Campbell Barton
638a93b235
svn merge ^/trunk/blender -r41075:41099
2011-10-18 01:09:00 +00:00
Campbell Barton
61389bba41
fix spelling mistakes in comments (and in some python error messages), nothing to effect translations.
2011-10-17 06:39:13 +00:00
Campbell Barton
aa6d7ebd14
svn merge ^/trunk/blender -r40720:40872
2011-10-09 07:31:15 +00:00
Campbell Barton
8695bedda2
svn merge ^/trunk/blender -r40644:40720
2011-10-06 16:59:58 +00:00
Miika Hamalainen
e8bb972f3c
Merge with trunk r40782
2011-10-04 11:42:44 +00:00
Campbell Barton
3b996ac1b3
add macro OB_TYPE_SUPPORT_MATERIAL, type checks were being done inline, some comparing range, some using ELEM#(), once was missing metaball check.
2011-10-03 17:29:43 +00:00
Sergey Sharybin
79307369fe
Bump maps flip: now white means salience, black means concavity
...
Files created in blender before this revision should be rendered in
exactly the same way they used to render before.
Patch by Morten Mikkelsen, finished by Ton and me.
2011-09-30 09:55:21 +00:00
Brecht Van Lommel
f05b6bb7c1
Fix #28728 : volume precaching took a long time with many objects, changed
...
threading to no longer sleep 50ms for each object, using work queue now.
Also it was showing SSS preprocessing while actually doing Volume precaching,
fixed as well.
2011-09-28 19:18:29 +00:00
Campbell Barton
effea8c29b
svn merge ^/trunk/blender -r40511:40587
2011-09-27 03:12:31 +00:00
Campbell Barton
58587a3881
replace strncpy with BLI_strncpy, in some cases strncpy was being misused since it doesnt ensure \0 termination.
...
also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-26 18:51:10 +00:00
Campbell Barton
8f302f7ffd
bugfix [ #28744 ] Object mapped textures (decals) in linked files are not rendered properly
2011-09-26 07:39:29 +00:00
Campbell Barton
274b9c8fb8
whitespace cleanup
2011-09-25 12:31:21 +00:00
Campbell Barton
cb6255fdf8
edits to internal renderer - no functional changes.
...
- move some larger vars into a nested scope.
- replace memset with zero initializer.
- rempace VECCOPY macros with copy_v3v3
- change function args to give the float array length.
2011-09-24 14:34:24 +00:00
Campbell Barton
9494340dae
svn merge ^/trunk/blender -r40432:40491
2011-09-23 13:04:01 +00:00
Campbell Barton
ea4b3fee1f
svn merge ^/trunk/blender -r40389:r40390
2011-09-23 07:17:07 +00:00
Campbell Barton
91587ed302
svn merge ^/trunk/blender -r40381:40382
2011-09-23 06:35:49 +00:00
Campbell Barton
40e212149c
svn merge ^/trunk/blender -r40372:40379
2011-09-23 06:18:03 +00:00
Campbell Barton
48918130a1
remove redundant code & use GL_LINE_STRIP for object spiral drawing.
2011-09-22 18:42:16 +00:00
Sergey Sharybin
bf7f88566c
Remove checks for voxel data when texture type is known.
2011-09-22 17:52:27 +00:00
Campbell Barton
a20bcb4613
clear up some warnings.
2011-09-22 14:42:29 +00:00
Morten Mikkelsen
68a9450dd1
addendum to prev bugfix on texture space bump
2011-09-22 05:36:52 +00:00
Campbell Barton
86d528afa7
comment some unused vars / assignments.
2011-09-22 03:14:50 +00:00
Campbell Barton
14475d07cd
svn merge -r40295:40367 ^/trunk/blender
2011-09-21 17:15:54 +00:00
Miika Hamalainen
15cb47bf91
Merge with trunk r40409
2011-09-20 17:51:04 +00:00
Campbell Barton
84d06f252e
tag & comment unused vars with /* UNUSED */
2011-09-20 08:48:48 +00:00
Campbell Barton
13dfd82997
changes for materials to treat them as shorts not int/chars (since they are stored as shorts intermally)
...
- converting nurbs to mesh was casting the material to unsigned char.
- subsurf was casting to char, then int -> short in a loop.
- have material functions take & return shorts.
2011-09-20 06:25:15 +00:00
Campbell Barton
6791052832
tidy up
...
- quiet some warnings
- set some functions static
- replace materialbyname with generic BLI_findstring call
2011-09-20 04:38:59 +00:00
Campbell Barton
83a2f02a78
cleanup endian handling
...
- define __BIG_ENDIAN__ or __LITTLE_ENDIAN__ with cmake & scons.
- ENDIAN_ORDER is now a define rather than a global short.
- replace checks like this with single ifdef: #if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__)
- remove BKE_endian.h which isn't used
2011-09-19 08:02:17 +00:00
Campbell Barton
17f0ff5f7f
svn merge -r40279:40295 ^/trunk/blender
2011-09-17 13:15:38 +00:00
Campbell Barton
d4898f9c40
use macros RAD2DEG & DEG2RAD rather then multiplying by 180.0/M_PI or M_PI/180.0
2011-09-17 09:43:51 +00:00
Campbell Barton
f3e182231d
use const and array size in function definitions, no functional change.
2011-09-17 08:14:43 +00:00