e75f5c8208
quiet -Wmissing-prototypes warnings, and enable this warning by default for C with gcc.
...
helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-15 01:52:28 +00:00
4172997675
Merged changes in the trunk up to revision 50607.
...
Conflicts resolved:
source/blender/blenloader/intern/readfile.c
2012-09-15 00:15:24 +00:00
cd4ffe496a
Sequencer: clear cache and animation buffers for strips outside of cursor when rendering
...
This avoids having bunch of cached images when doing animation rendering,
keeping all the memory available for rendered itself.
This keeps memory usage low when rendering huge edits with mixed
scenes and movie strips.
This should not affect on sped of video encoding, which was confirmed by
some own tests.
--
svn merge -r50051:50052 ^/branches/soc-2011-tomato
2012-09-14 14:28:24 +00:00
7a71f58af3
fixes for NULL checks, remove some redundant checks and add some in that have been removed by accident as code has been updated.
2012-09-14 06:17:14 +00:00
380a6174d9
fix [ #32537 ] Inconsistent behaviour of Texture Baker
...
feedback looks wen't being detected in some cases causing very confusing behavior.
2012-09-12 03:05:20 +00:00
d75a66674d
code cleanup: remove deprecated defines and some struct members
2012-09-06 00:33:59 +00:00
a4b71f4e01
fix for various redundant checks and possibly fix some crashes in rare situations.
2012-09-05 01:42:52 +00:00
068cceab6c
fix for some errors reported by http://clang.blenderheads.org/trunk/ in r50384.
...
- when renderlayers could not be found in save_render_result_tile() blender would crash.
- RE_engine_end_result() / rna end_result() didn't set result argument as required.
... also some style cleanup.
2012-09-04 18:27:47 +00:00
adea12cb01
Cycles: merge of changes from tomato branch.
...
Regular rendering now works tiled, and supports save buffers to save memory
during render and cache render results.
Brick texture node by Thomas.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Textures#Brick_Texture
Image texture Blended Box Mapping.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Textures#Image_Texture
http://mango.blender.org/production/blended_box/
Various bug fixes by Sergey and Campbell.
* Fix for reading freed memory in some node setups.
* Fix incorrect memory read when synchronizing mesh motion.
* Fix crash appearing when direct light usage is different on different layers.
* Fix for vector pass gives wrong result in some circumstances.
* Fix for wrong resolution used for rendering Render Layer node.
* Option to cancel rendering when doing initial synchronization.
* No more texture limit when using CPU render.
* Many fixes for new tiled rendering.
2012-09-04 13:29:07 +00:00
a71b160184
fix for building on msvc2008 (also style cleanup)
2012-09-04 01:23:50 +00:00
aaafa0c2fe
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03 22:04:14 +00:00
141dd5233e
Merged changes in the trunk up to revision 50257.
...
Conflicts resolved:
source/blender/blenkernel/CMakeLists.txt
2012-08-29 00:53:29 +00:00
ee96cde864
style cleanup: whitespace
2012-08-26 11:35:43 +00:00
56b28635e7
code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with our naming convention.
2012-08-23 18:25:45 +00:00
9ecc6fdcc7
style cleanup
2012-08-23 07:10:48 +00:00
c92ab5c3ef
code cleanup: use rect size macros
2012-08-21 20:34:05 +00:00
8bd7c3fba2
change curve evaluation functions never to modify curve data (ensures thread safety), now initializations has to be done outside evaluation.
2012-08-21 14:43:51 +00:00
26f073b327
macros for rectangle center and size
2012-08-20 15:29:02 +00:00
22b30da565
Merged changes in the trunk up to revision 49986.
2012-08-18 15:20:35 +00:00
e9caa21830
fix own error in recent smoothview cleanup, also correct some cross references in bmesh docs.
2012-08-17 14:43:20 +00:00
ca7d1ec39d
style cleanup: use <pre> for doxygen ascii art
2012-08-13 15:17:15 +00:00
44e4c5f831
Merged changes in the trunk up to revision 49797.
2012-08-12 00:09:57 +00:00
f0951f58ca
code cleanup: rename G.afbreek --> is_break, G.rendering --> is_rendering
2012-08-08 18:37:06 +00:00
1bf893e9c8
Code cleanup: BKE_ prefix for public sequencer functions
2012-08-08 11:15:40 +00:00
dfdfa06c27
code cleanup: minor edit - replace memset() with zero initialization, remove unneeded NULL check in ibuf_sample()
2012-08-05 15:04:10 +00:00
9ddbd8329e
fix uninitialized memory use for mask feather points, also remove some double promotions.
2012-08-05 13:26:39 +00:00
3d20474414
style cleanup
2012-08-04 19:34:38 +00:00
9ff4fa6671
style cleanup
2012-08-04 12:30:16 +00:00
e86e5074f6
code cleanup: double promotion warnings
2012-08-02 21:17:12 +00:00
ba5c635502
fix for crash when node groups loose their ID pointer references (when linked libs don't load)
2012-08-02 16:33:38 +00:00
ce3293b2d9
code cleanup: remove redundant float casts
2012-08-02 11:33:21 +00:00
4ea2fb8b0a
Merged changes in the trunk up to revision 49478.
...
Conflicts resolved:
source/blender/blenkernel/intern/library.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/interface/resources.c
source/blender/makesrna/intern/rna_scene.c
2012-08-02 00:10:05 +00:00
8a1a4a453d
Tie compositor will now update render result when changing node setup
...
Issue was caused by the way how render result was acquiring -- pointer
to render data was used to find needed render descriptor. It's not
reliable since render contains copy of scene's render data, not pointer
to this data.
Use node scene's id name for render result acquiring, the same way
as it was done in old compositor system.
2012-08-01 13:59:08 +00:00
7217927414
add inline functions for max/min ints, good to use when the arguments are function calls (we had a few of these).
2012-07-29 18:14:20 +00:00
c41e1e434a
code cleanup: replace MIN2/MAX2 with minf/maxf
2012-07-29 16:59:51 +00:00
e32c60284a
style cleanup
2012-07-29 00:20:28 +00:00
62a73381a7
use fabsf when using floats.
2012-07-21 15:27:40 +00:00
3b012c041f
Merged changes in the trunk up to revision 49090.
2012-07-20 23:12:05 +00:00
250cdd5e52
code cleanup: remove commented includes - mostly from 2.4x
2012-07-18 23:07:07 +00:00
32cf7fcdb1
code cleanup: spelling
2012-07-16 23:23:33 +00:00
7cc5af4ef3
minor refactor for rect functions. more consistent naming.
2012-07-15 00:29:56 +00:00
065605e0da
Merged changes in the trunk up to revision 48893.
...
Conflicts resolved:
source/blender/blenkernel/CMakeLists.txt
source/blender/blenloader/intern/readfile.c
source/blender/editors/animation/anim_filter.c
source/blender/makesrna/RNA_enum_types.h
2012-07-13 23:23:06 +00:00
a5127dba57
vector versions of BLI_in_rctf / BLI_in_rcti, (BLI_in_rctf_v, BLI_in_rcti_v)
...
use where possible.
2012-07-11 18:17:48 +00:00
75a5eab8d1
code cleanup
2012-07-08 21:37:59 +00:00
4bc818d240
code cleanup: quiet uninitialized memory use warning for X11 - harmless in this case but always gave warnings with memcheck (RGB color for alpha zero icon color wasnt initialized).
...
also some other minor changes.
2012-07-08 12:23:58 +00:00
2c8db87897
fix [ #32020 ] Image will not render in second (any scene other than first) if scene name is longer than 28 characters
2012-07-08 00:04:41 +00:00
cfb7aee017
style cleanup
2012-07-07 22:51:57 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +00:00
b7b5029814
Merged changes in the trunk up to revision 48695.
2012-07-06 23:46:48 +00:00
3a0593cc3d
code cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which results in calling the function multiple times needlessly.
...
also added some comments.
2012-07-06 22:48:28 +00:00