Blender Git Loki

Git Commits -> Revision bd92aea

Revision bd92aea by Maxime Curioni (master)
August 4, 2009, 00:40 (GMT)
SUMMARY:
The main contribution of this commit is the possibility to save Freestyle configuration information inside .blend files. It required an extensive refactoring of the previous interface code.

The code has been tested and does not crash on my machine. If you encounter issues, please let me know (and if possible, sending me an sample .blend file).

DETAILS:
- refactored code to notify Freestyle when adding/removing render layers (FRS_freestyle_config.{h,cpp})
- corrected the freeing of style modules when files are read from / written to disk
- moved Freestyle configuration information into scene renderlayers, to allow loading / saving .blend files (DNA_scene_types.h DNA_freestyle_types.h FRS_freestyle.cpp)
- inserted temporary trick to prevent crashes when orthographic camera is used (SilhouetteGeomEngine.cpp), but outputting incorrect feature line calculations

Commit Details:

Full Hash: bd92aea926d66cdb2548fbdd7e8d8b28208fad6d
SVN Revision: 22199
Parent Commit: ff110c1
Lines Changed: +172, -139

2 Added Paths:

/source/blender/freestyle/FRS_freestyle_config.h (+17, -0) (View)
/source/blender/makesdna/DNA_freestyle_types.h (+28, -0) (View)

15 Modified Paths:

/source/blender/blenkernel/intern/scene.c (+10, -1) (Diff)
/source/blender/blenkernel/SConscript (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+6, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+8, -2) (Diff)
/source/blender/freestyle/CMakeLists.txt (+1, -1) (Diff)
/source/blender/freestyle/FRS_freestyle.h (+4, -11) (Diff)
/source/blender/freestyle/intern/app_blender/FRS_freestyle.cpp (+48, -107) (Diff)
/source/blender/freestyle/intern/geometry/GeomUtils.cpp (+14, -4) (Diff)
/source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.cpp (+8, -1) (Diff)
/source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+12, -2) (Diff)
/source/blender/makesdna/intern/makesdna.c (+2, -0) (Diff)
/source/blender/render/intern/source/pipeline.c (+2, -1) (Diff)
/source/blender/src/buttons_scene.c (+8, -6) (Diff)
/source/blender/src/usiblender.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021