[Bf-blender-cvs] [ae08f71] gooseberry: Use '-' instead of '..' as a range separator for the cache slice operator.

Lukas Tönne noreply at git.blender.org
Thu Jun 18 14:48:43 CEST 2015


Commit: ae08f71386eb5d5b505fd32928ffff2de89349ae
Author: Lukas Tönne
Date:   Thu Jun 18 14:47:58 2015 +0200
Branches: gooseberry
https://developer.blender.org/rBae08f71386eb5d5b505fd32928ffff2de89349ae

Use '-' instead of '..' as a range separator for the cache slice
operator.

===================================================================

M	source/blender/editors/io/io_cache_library.c

===================================================================

diff --git a/source/blender/editors/io/io_cache_library.c b/source/blender/editors/io/io_cache_library.c
index cf1b3fd..cb6b775 100644
--- a/source/blender/editors/io/io_cache_library.c
+++ b/source/blender/editors/io/io_cache_library.c
@@ -673,8 +673,8 @@ static bool parse_range(const char **s, int *start, int *end)
 		parse_error_log("Invalid range format, expected int\n", full, *s - full);
 		return false;
 	}
-	if (!parse_literal(s, "..")) {
-		parse_error_log("Invalid range format, expected ..\n", full, *s - full);
+	if (!parse_literal(s, "-")) {
+		parse_error_log("Invalid range format, expected '-'\n", full, *s - full);
 		return false;
 	}
 	if (!parse_int(s, end)) {




More information about the Bf-blender-cvs mailing list