Page Menu
Home
Search
Configure Global Search
Log In
Files
F10807
strip-name.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Torsten Rupp (rupp)
Nov 13 2013, 2:18 PM
Size
751 B
Subscribers
None
strip-name.patch
View Options
Index: source/blender/blenkernel/intern/nla.c
===================================================================
--- source/blender/blenkernel/intern/nla.c (revision 31262)
+++ source/blender/blenkernel/intern/nla.c (working copy)
@@ -1265,13 +1265,13 @@
char *dot;
/* Strip off the suffix */
- dot = strchr(strip->name, '.');
+ dot = strrchr(strip->name, '.');
if (dot) *dot=0;
/* Try different possibilities */
for (number = 1; number <= 999; number++) {
/* assemble alternative name */
- BLI_snprintf(tempname, 128, "%s%c%03d", strip->name, ".", number);
+ BLI_snprintf(tempname, 128, "%s.%03d", strip->name, number);
/* if hash doesn't have this, set it */
if (BLI_ghash_haskey(gh, tempname) == 0) {
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e4/59/49ec4083b1556dba53be5c326761
Event Timeline
Log In to Comment