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>2013-07-27 15:54:52 +0400
committerJoshua Leung <aligorith@gmail.com>2013-07-27 15:54:52 +0400
commit59fabbb4f78828148155a556d2f8aa2dfca78036 (patch)
treef170f4feb92cdfbae10299a1821e4e1564df0268 /source/blender/editors/animation/keyframes_general.c
parentf83d733a62eae93cc4ef56f8d6968229cc22fdd9 (diff)
Style Cleanup for r.58659
Use proper RNA API function that was designed to be used in this case instead of using ugly syntax
Diffstat (limited to 'source/blender/editors/animation/keyframes_general.c')
-rw-r--r--source/blender/editors/animation/keyframes_general.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyframes_general.c b/source/blender/editors/animation/keyframes_general.c
index 915cf409dcf..cfa5f9f032c 100644
--- a/source/blender/editors/animation/keyframes_general.c
+++ b/source/blender/editors/animation/keyframes_general.c
@@ -628,8 +628,8 @@ static tAnimCopybufItem *pastebuf_match_path_property(FCurve *fcu, const short f
PropertyRNA *prop;
RNA_id_pointer_create(aci->id, &id_ptr);
-
- if (RNA_path_resolve(&id_ptr, aci->rna_path, &rptr, &prop) && prop) {
+
+ if (RNA_path_resolve_property(&id_ptr, aci->rna_path, &rptr, &prop)) {
const char *identifier = RNA_property_identifier(prop);
int len_id = strlen(identifier);
int len_path = strlen(fcu->rna_path);