Blender Git Commit Log
Git Commits -> Revision ce504cf
Revision ce504cf by Tamito Kajiyama (master) May 11, 2015, 17:18 (GMT) |
Freestyle: Fix for assertion failure in viewport preview. An assertion to check if `re->clipsta` < 0 (added as part of addressing T36009 in rBrB795034c17d76bef2a15e576ac9c70ae2268a823b) was failing when Freestyle viewport preview rendering takes place in the camera view with an orthographic camera (in this case, the user-defined clipping range is used without changes, so that `re->clipsta` is positive). The `re->clipsta` property has a negative value only when the 3D viewport is in an orthographic view but not in the camera view. It seems that this viewport setting cannot be identified from rendering settings accessible from Freestyle. Now a negative `re->clipsta` value is directly checked instead, without relying on other render flags. |
Commit Details:
Full Hash: ce504cffad49da80aff5b18d0f59d42998e3a9f7
Parent Commit: c7bccb3
Lines Changed: +1, -2
1 Modified Path:
/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp (+1, -2) (Diff)