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:
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index e15950a665c..698646ce1b3 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -925,6 +925,12 @@ static int load_file(int UNUSED(argc), const char **argv, void *data)
/* Make the path absolute because its needed for relative linked blends to be found */
char filename[FILE_MAX];
+
+ /* note, we could skip these, but so far we always tried to load these files */
+ if (argv[0][0] == '-') {
+ fprintf(stderr, "unknown argument, loading as file: %s\n", argv[0]);
+ }
+
BLI_strncpy(filename, argv[0], sizeof(filename));
BLI_path_cwd(filename);