diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-12-01 15:34:15 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-12-01 15:34:15 +0300 |
commit | fc91991432d3f21aba64376fef387c930e4b3681 (patch) | |
tree | dc9207ebb19a02d7582707b39cd14cd2e98aa21f /source/blender/src/meshtools.c | |
parent | 4813af326ba15a5aac8f94e1f0a6a34eabc40b4e (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.c | 2 |
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 */ |