Bugfix #20776: Segfault Driving a Shapekey in Graph Editor > Drivers > Selecting...
authorJoshua Leung <aligorith@gmail.com>
Sun, 24 Jan 2010 09:58:30 +0000 (09:58 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sun, 24 Jan 2010 09:58:30 +0000 (09:58 +0000)
commitb4640bf4198d0caf0bd8ef2186710008934e8b1d
tree51cac7892586e273fe54229bc944e56e79b9c7dd
parentac38eba721a5c0d8c9cf47c0222b38212acb9ae6
Bugfix #20776: Segfault Driving a Shapekey in Graph Editor > Drivers > Selecting the Bone

ID-Type for Driver Targets should sometimes not be editable, otherwise, users could set invalid datablocks, leading to crashes.

Added missing checks for this to prevent this happening again.
source/blender/makesrna/intern/rna_fcurve.c