Two bugfixes, irc report:

- WeightPaint used 'max vertices' as 'max faces' for paint, so some faces
  could not be painted on. (bug introduced last week, with global undo)

- Bake Render: when no Image window open, baking crashed.
This commit is contained in:
2006-11-30 18:20:14 +00:00
parent 94da40a3d8
commit e565bbd298
2 changed files with 8 additions and 8 deletions

View File

@@ -897,7 +897,7 @@ void objects_bake_render(void)
g_break= blender_test_break();
timer++;
if(timer==20) {
if(area && timer==20) {
Image *ima= RE_bake_shade_get_image();
if(ima) ((SpaceImage *)area->spacedata.first)->image= ima;
scrarea_do_windraw(area);