Blender Git Loki
Git Commits -> Revision 6894fe3
Revision 6894fe3 by Sybren A. Stüvel (master) November 25, 2015, 12:59 (GMT) |
Accept non-existing files from the CLI When a user tries to load a non-existing blend file from the CLI, the path is set and Blender acts as if it is loaded. This allows the user to create a new file by typing 'blender filename.blend' and then saving. This behaviour is common in other tooling, such as vim and Mypaint. Blender's current behaviour (print an error message and open the default scene) doesn't make much sense. It ignores the filename passed on the CLI, whereas with this patch that filename is actually remembered, and used when saving. Reviewers: campbellbarton, sergey, mont29 |
Commit Details:
Full Hash: 6894fe3b7a200c4eae8ad980c3dcafe54e52393f
Parent Commit: e796581
Lines Changed: +8, -2
1 Modified Path:
/source/creator/creator.c (+8, -2) (Diff)