- [#22492] [29159] commit breaks importing of script file that has a reload to self...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 5 Jun 2010 21:19:59 +0000 (21:19 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 5 Jun 2010 21:19:59 +0000 (21:19 +0000)
commit4da179749eb8d6b53f5c2eba4b3e4132656c3d4f
tree59b4dbfac1c894687f022efb72a9c010c93e555f
parentc12068920391c006cf5e72c1fafb4ebf8f807a55
- [#22492] [29159] commit breaks importing of script file that has a reload to self in it
  broke when including the blend path in the modules filename.

- new function BLI_path_basename(), matches pythons os.path.basename().
  replace a number of cases where BLI_split_dirfile was being used to get the filename only.
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/text.c
source/blender/blenlib/BLI_path_util.h
source/blender/blenlib/intern/bpath.c
source/blender/blenlib/intern/path_util.c
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_sequencer/sequencer_add.c
source/blender/python/generic/bpy_internal_import.c
source/blender/windowmanager/intern/wm_operators.c