Blender Git Loki

Git Commits -> Revision 663f15c

Revision 663f15c by Sergey Sharybin (master)
May 24, 2013, 07:56 (GMT)
Fix #35493: Blender crash when rendering in terminal mode

Use the same window manager for freestyle bmain as
real bmain uses. This is needed because freestyle's
bmain could be used to tag scenes for update, which
implies call of ED_render_scene_update in some cases
and that function requires proper windoew manager
to present.

Alternative would be to make render scene update does
nothing if there's no window manager, but we wanted
freestyle to be applied in rendered viewport once and
think current change is what we'll need to support
freestyle in viewport.

But a bit further, perhaps that'd make sense to not
register ED_render_scene_update as a scene update
callback when in background mode?

Commit Details:

Full Hash: 663f15cf2b057d3591e09728d4ca72092cbb1dad
SVN Revision: 56994
Parent Commit: dfdb2eb
Lines Changed: +9, -0

1 Modified Path:

/source/blender/render/intern/source/pipeline.c (+9, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021