Blender Git Commit Log

Git Commits -> Revision a21cb22

Revision a21cb22 by Hans Goudey (master)
July 3, 2020, 15:58 (GMT)
Cleanup: Deduplicate code for finding context object

Instead of manually checking the pinned object, use the existing
ED_object_active_context function. This requires adding const
to the context in that function.

Commit Details:

Full Hash: a21cb22f8b12ea73937e7e6eda8465f1cba02b6e
Parent Commit: 33a7494
Lines Changed: +28, -76

6 Modified Paths:

/source/blender/editors/include/ED_object.h (+2, -2) (Diff)
/source/blender/editors/interface/interface_templates.c (+4, -16) (Diff)
/source/blender/editors/object/object_edit.c (+2, -2) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.c (+7, -19) (Diff)
/source/blender/modifiers/intern/MOD_ui_common.c (+7, -19) (Diff)
/source/blender/shader_fx/intern/FX_ui_common.c (+6, -18) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021