Blender Git Commit Log

Git Commits -> Revision d7bee8c

Revision d7bee8c by Ton Roosendaal (master)
December 11, 2005, 13:23 (GMT)
Big commit with work on Groups & Libraries:

-> Any Group Duplicate now can get local timing and local NLA override. This
enables to control the entire animation system of the Group.

Two methods for this have been implemented.
1) The quick way: just give the duplicator a "Startframe" offset.
2) Advanced: in the NLA Editor you can add ActionStrips to the duplicator
to override NLA/action of any Grouped Object.

For "Group NLA" to work, an ActionStrip needs to know which Object in a
group it controls. On adding a strip, the code checks if an Action was
already used by an Object in the Group, and assigns it automatic to that
Object.
You can also set this in the Nkey "Properties" panel for the strip.

Change in NLA: the SHIFT+A "Add strip" command now always adds strips to
the active Object. (It used to check where mouse was). This allows to add
NLA strips to Objects that didn't have actions/nla yet.

Important note: In Blender, duplicates are fully procedural and generated
on the fly for each redraw. This means that redraw speed equals to stepping
through frames, when using animated Duplicated Groups.

-> Recoded entire duplicator system

The old method was antique and clumsy, using globals and full temporal
copies of Object. The new system is nicer in control, faster, and since it
doesn't use temporal object copies anymore, it works better with Derived
Mesh and DisplayList and rendering.

By centralizing the code for duplicating, more options can be easier added.
Features to note:

- Duplicates now draw selected/unselected based on its Duplicator setting.
- Same goes for the drawtype (wire, solid, selection outline, etc)
- Duplicated Groups can be normally selected too

Bonus goodie: SHIFT+A (Toolbox) now has entry "Add group" too, with a
listing of all groups, allowing to add Group instances immediate.

-> Library System

- SHIFT+F4 data browse now shows the entire path for linked data
- Outliner draws Library Icons to denote linked data
- Outliner operation added: "Make Local" for library data.
- Outliner now also draws Groups in regular view, allowing to unlink too.

-> Fixes

- depsgraph missed signal update for bone-parented Objects
- on reading file, the entire database was tagged to "recalc" fully,
causing unnecessary slowdown on reading.

Might have missed stuff... :)

Commit Details:

Full Hash: d7bee8c1172f5d1f27fa51c740b0ae2d29996caf
SVN Revision: 6072
Parent Commit: 485dd1d
Lines Changed: +944, -749

36 Modified Paths:

/source/blender/blenkernel/BKE_anim.h (+8, -2) (Diff)
/source/blender/blenkernel/BKE_depsgraph.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_displist.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_font.h (+8, -1) (Diff)
/source/blender/blenkernel/BKE_group.h (+11, -6) (Diff)
/source/blender/blenkernel/intern/action.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/anim.c (+139, -78) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+18, -5) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/displist.c (+8, -11) (Diff)
/source/blender/blenkernel/intern/font.c (+0, -89) (Diff)
/source/blender/blenkernel/intern/group.c (+145, -6) (Diff)
/source/blender/blenkernel/intern/mball.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/nla.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+12, -11) (Diff)
/source/blender/blenkernel/intern/scene.c (+22, -17) (Diff)
/source/blender/blenloader/intern/readfile.c (+11, -5) (Diff)
/source/blender/include/BIF_outliner.h (+1, -1) (Diff)
/source/blender/include/BSE_drawview.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_group_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_nla_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+0, -12) (Diff)
/source/blender/render/intern/source/rendercore.c (+1, -0) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+11, -21) (Diff)
/source/blender/src/butspace.c (+2, -0) (Diff)
/source/blender/src/drawnla.c (+13, -7) (Diff)
/source/blender/src/drawobject.c (+41, -35) (Diff)
/source/blender/src/drawview.c (+47, -74) (Diff)
/source/blender/src/editgroup.c (+5, -0) (Diff)
/source/blender/src/editnla.c (+221, -265) (Diff)
/source/blender/src/editobject.c (+11, -13) (Diff)
/source/blender/src/filesel.c (+6, -1) (Diff)
/source/blender/src/header_info.c (+3, -0) (Diff)
/source/blender/src/outliner.c (+87, -44) (Diff)
/source/blender/src/toolbox.c (+70, -33) (Diff)
/source/blender/src/view.c (+24, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021