Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2015-03-13 12:03:26 +0300
committerJoshua Leung <aligorith@gmail.com>2015-03-28 15:39:54 +0300
commit6dac874d68bde7ffb72ce44d9916ceeeeb5fb2a1 (patch)
treed4d63ccbbc09bc052e9aeff5a6e71e0f850fdf1b /source/blender/blenkernel/intern/fcurve.c
parentda0d0b2f2091160e9d75015f8931d2bba82c43a0 (diff)
Fix for various small issues which may cause crashes
Diffstat (limited to 'source/blender/blenkernel/intern/fcurve.c')
-rw-r--r--source/blender/blenkernel/intern/fcurve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c
index a9866405827..86454576b98 100644
--- a/source/blender/blenkernel/intern/fcurve.c
+++ b/source/blender/blenkernel/intern/fcurve.c
@@ -386,7 +386,7 @@ FCurve *rna_get_fcurve_context_ui(bContext *C, PointerRNA *ptr, PropertyRNA *pro
}
/* if we still haven't found anything, check whether it's a "special" property */
- if ((fcu == NULL) && (adt->nla_tracks.first)) {
+ if ((fcu == NULL) && (adt && adt->nla_tracks.first)) {
NlaTrack *nlt;
const char *propname = RNA_property_identifier(prop);