Page MenuHome

Fix T60022: Crash when adding grease pencil object to a collection disabled in viewport.
ClosedPublic

Authored by Habib Gahbiche (zazizizou) on Thu, Jan 3, 5:18 PM.

Details

Summary

In disabled collections there are no active objects, therefore functions that add data to an object such as ED_gpencil_create_stroke()need to take Object * as an argument. This is consistent with other similar functions, e.g. ED_mball_add_primitive().

Diff Detail

Repository
rB Blender
Branch
fixbug (branched from master)
Build Status
Buildable 2698
Build 2698: arc lint + arc unit