Blender Git Commit Log

Git Commits -> Revision 4df0c46

Revision 4df0c46 by Sergey Sharybin (master)
April 18, 2013, 08:58 (GMT)
Make freestyle use local Main for temporary objects

This means main database is no longer pollutes with
temporary scene and objects needed for freestyle
render.

Actually, there're few of separated temporary mains
now. Ideally it's better to use single one, but it's
not so much trivial to pass it to all classes. Not
so big deal actually.

Required some changes to blender kernel, to make it
possible to add object to a given main, also to
check on mesh materials for objects in given main.
This is all straightforward changes.

As an additional, solved issue with main database
being infinitely polluted with text blocks created
by create_lineset_handler function.

This fixes:
- #35003: Freestyle crashes if user expands objects in FRS1_Scene
- #35012: ctrl+f12 rendering crashes when using Freestyle

Commit Details:

Full Hash: 4df0c46f838f7c316b10a6667705c093f067cadd
SVN Revision: 56127
Parent Commit: 093f95a
Lines Changed: +93, -73

20 Modified Paths:

/source/blender/blenkernel/BKE_material.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_object.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+14, -14) (Diff)
/source/blender/collada/collada_utils.cpp (+1, -1) (Diff)
/source/blender/editors/curve/editfont.c (+3, -1) (Diff)
/source/blender/editors/mesh/meshtools.c (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+1, -1) (Diff)
/source/blender/editors/object/object_constraint.c (+2, -1) (Diff)
/source/blender/editors/object/object_hook.c (+3, -3) (Diff)
/source/blender/editors/object/object_modifier.c (+4, -5) (Diff)
/source/blender/editors/object/object_relations.c (+2, -2) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp (+19, -15) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.h (+3, -0) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+15, -5) (Diff)
/source/blender/freestyle/intern/system/PythonInterpreter.h (+7, -6) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_object.c (+2, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+4, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021