Blender Git Commit Log

Git Commits -> Revision f79b485

Revision f79b485 by Philipp Oeser (master)
October 1, 2020, 13:42 (GMT)
Fix T81248: World nodetree action is linked after duplication

This was already changed for Material nodetrees on duplication in
rBa75ac18638f4.
Since it is not obvious from the UI how change World actions - and to be
consistent with Material actions, it is best to copy the action as the
default behavior.
So use generic BKE_id_copy functions with LIB_ID_COPY_ACTIONS flag [which
also enables us to get rid of `BKE_world_copy`]

Note: taking the User Preference `USER_DUP_ACT` into account here (for
both material and world actions) could be a followup step.

Maniphest Tasks: T81248

Differential Revision: https://developer.blender.org/D9046

Commit Details:

Full Hash: f79b4850fb3c29bf2a153428b1b4d4b5f67121f9
Parent Commit: 91f0610
Lines Changed: +3, -9

3 Modified Paths:

/source/blender/blenkernel/BKE_world.h (+0, -1) (Diff)
/source/blender/blenkernel/intern/world.c (+0, -7) (Diff)
/source/blender/editors/render/render_shading.c (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021