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:
-rw-r--r--source/blender/blenkernel/intern/action.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c
index cbe056fa1b1..e10a17a3338 100644
--- a/source/blender/blenkernel/intern/action.c
+++ b/source/blender/blenkernel/intern/action.c
@@ -1071,10 +1071,10 @@ static void do_nla(Object *ob, int blocktype)
}
}
if(strip==NULL) { /* extend */
- if(stripfirst)
- scene_cfra= stripfirst->start;
- else if(striplast)
+ if(striplast)
scene_cfra= striplast->end;
+ else if(stripfirst)
+ scene_cfra= stripfirst->start;
}
/* and now go over all strips */