Changed frame numbering to only alter hashes if they are in the filename (not the...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 4 May 2008 09:41:15 +0000 (09:41 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 4 May 2008 09:41:15 +0000 (09:41 +0000)
commit110f927c636778fedddccb041553fc6040f4ffd8
tree350e9e82b6406ab8e633286faade5e0af5be9272
parentf95c1141db077ea9323dd4f1d8852e365aadb2b1
Changed frame numbering to only alter hashes if they are in the filename (not the directory name) to fix bug [#10566] File Open Dialog replaces '#' with '0' in directory names.

removed frame numbering from BLI_convertstringcode into its own function (BLI_convertstringframe), many uses of BLI_convertstringcode were passing dummy frames values anyway.
in cases where adding the current frame number to a filename is needed run BLI_convertstringframe(...) after BLI_convertstringcode(...)

There are some cases Im not sure BLI_convertstringframe is needed, these have been commented as todo, but at least have the same functionality they used to.
33 files changed:
source/blender/blenkernel/intern/DerivedMesh.c
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/library.c
source/blender/blenkernel/intern/packedFile.c
source/blender/blenkernel/intern/particle_system.c
source/blender/blenkernel/intern/pointcache.c
source/blender/blenkernel/intern/sound.c
source/blender/blenkernel/intern/text.c
source/blender/blenkernel/intern/writeavi.c
source/blender/blenlib/BLI_blenlib.h
source/blender/blenlib/intern/bpath.c
source/blender/blenlib/intern/util.c
source/blender/include/BIF_screen.h
source/blender/python/BPY_interface.c
source/blender/python/BPY_menus.c
source/blender/python/api2_2x/Blender.c
source/blender/python/api2_2x/Library.c
source/blender/python/api2_2x/Sys.c
source/blender/python/api2_2x/sceneRender.c
source/blender/render/intern/source/pipeline.c
source/blender/src/buttons_shading.c
source/blender/src/editimasel.c
source/blender/src/editscreen.c
source/blender/src/editsima.c
source/blender/src/editsound.c
source/blender/src/filesel.c
source/blender/src/fluidsim.c
source/blender/src/interface_draw.c
source/blender/src/outliner.c
source/blender/src/screendump.c
source/blender/src/seqaudio.c
source/blender/src/sequence.c
source/blender/src/writeimage.c