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:
authorCampbell Barton <ideasman42@gmail.com>2015-10-08 06:42:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-08 06:42:25 +0300
commite47177e301d104a8b7110e4490bf587c86835bad (patch)
tree602ebeb3270ad08df7fe63e2077ee8c353877232 /source/blender/windowmanager
parent08f61b0fe3bd92a391dc600be1cb9d7d7fcd9f93 (diff)
Cleanup: redundant code in anim player
Was setting the path to a directory when no file was given - then checking its a loadable file.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_playanim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c
index bf30fd83736..1c32373767e 100644
--- a/source/blender/windowmanager/intern/wm_playanim.c
+++ b/source/blender/windowmanager/intern/wm_playanim.c
@@ -1194,8 +1194,8 @@ static char *wm_main_playanim_intern(int argc, const char **argv)
BLI_strncpy(filepath, argv[1], sizeof(filepath));
}
else {
- BLI_current_working_dir(filepath, sizeof(filepath));
- BLI_add_slash(filepath);
+ printf("%s: no filepath argument given\n", __func__);
+ exit(1);
}
if (IMB_isanim(filepath)) {