Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2007-12-01 15:34:15 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-12-01 15:34:15 +0300
commitfc91991432d3f21aba64376fef387c930e4b3681 (patch)
treedc9207ebb19a02d7582707b39cd14cd2e98aa21f /source/blender/src/meshtools.c
parent4813af326ba15a5aac8f94e1f0a6a34eabc40b4e (diff)
Bugfix: baking ambient occlusion was broken without selected to active.
Increased the size limit (to 16384) and the default size (to 1024) for the New Image function.
Diffstat (limited to 'source/blender/src/meshtools.c')
-rw-r--r--source/blender/src/meshtools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/meshtools.c b/source/blender/src/meshtools.c
index d06208ea503..0def52179f6 100644
--- a/source/blender/src/meshtools.c
+++ b/source/blender/src/meshtools.c
@@ -1021,7 +1021,7 @@ void objects_bake_render(short event)
g_break= 0;
G.afbreek= 0; /* blender_test_break uses this global */
- RE_Database_Baking(re, G.scene, event, actob);
+ RE_Database_Baking(re, G.scene, event, (active)? actob: NULL);
/* baking itself is threaded, cannot use test_break in threads. we also update optional imagewindow */