Blender Git Loki

Git Commits -> Revision 72272d2

Revision 72272d2 by Gaia Clary (master)
November 29, 2013, 22:13 (GMT)
D54: Added a filepath attribute to the read_homefile operator.

This attribute allows to open a blend file as an alternative
start-up file. The attribute is only available from python.
This is an example call:

bpy.ops.wm.read_homefile(filepath='path/to/a/file.blend')

This patch also changes readfile.c to ensure that unintentionally
stored cursor states are not imported from the loaded file.

Commit Details:

Full Hash: 72272d2e4f4676c5c67483f1005251253edef15f
Parent Commit: e2429d6
Lines Changed: +52, -10

5 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+39, -8) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+7, -0) (Diff)
/source/blender/windowmanager/wm_files.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021