bugfix [#23456] context.main.filepath lost after undo
authorCampbell Barton <ideasman42@gmail.com>
Wed, 25 Aug 2010 04:03:38 +0000 (04:03 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 25 Aug 2010 04:03:38 +0000 (04:03 +0000)
commitb54d16858f54452361921629a150b5115235c5fa
tree8fa8b0a6140ec2fbb9da23fc93023a28dcac624b
parent8ffc50e45cc04f69c03dbdda9b331328ec840121
bugfix [#23456] context.main.filepath lost after undo
 G.sce was being restored after undo but not G.main->name
 also changed reading a new file so G.main->name gets set to the startup.blend even if its not on the disk, not ideal but would set to <memory2> otherwise.
source/blender/blenkernel/intern/blender.c
source/blender/windowmanager/intern/wm_files.c