Blender Git Loki

Git Commits -> Revision 9a25d22

Revision 9a25d22 by Andrea Weikert (master)
September 12, 2009, 19:54 (GMT)
2.5 filebrowser
Appending and Linking
* Linking Operator, invokes filebrowser for Append/Link
* Separated the append/link function into three parts:
** BLO_library_append_begin finds main for appending
** BLO_library_append_named_part appends one Object,Group, Material, ...
** BLO_library_append_end actually reads and expands the libraries

NOTE 1:
I also changed the returned properties for the filebrowser operators to the following convention:
"path" - the full path to a file or directory, means what is in directory + filename buttons in filebrowser
"directory" - the content of the directory button in filebrowser
"filename" - the content of the filename button in filebrowser
Usually only path should be required, but in some cases it might be more convenient to retrieve the parts separately.

Ton, Brecht: If you have time to take a look, let me know if anything needs to be fixed.

Commit Details:

Full Hash: 9a25d22326060395b09cd6d81d7b4ac080bafb8f
SVN Revision: 23158
Parent Commit: c1e2e3f
Lines Changed: +993, -369

30 Modified Paths:

/projectfiles_vc9/blender/loader/BLO_loader.vcproj (+117, -117) (Diff)
/release/io/export_ply.py (+1, -1) (Diff)
/release/ui/space_info.py (+3, -0) (Diff)
/source/blender/blenkernel/BKE_library.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+11, -0) (Diff)
/source/blender/blenloader/BLO_readfile.h (+15, -4) (Diff)
/source/blender/blenloader/intern/readfile.c (+136, -105) (Diff)
/source/blender/editors/curve/editfont.c (+1, -1) (Diff)
/source/blender/editors/screen/screendump.c (+11, -11) (Diff)
/source/blender/editors/sound/sound_ops.c (+4, -4) (Diff)
/source/blender/editors/space_buttons/buttons_ops.c (+3, -3) (Diff)
/source/blender/editors/space_file/filelist.c (+354, -15) (Diff)
/source/blender/editors/space_file/filelist.h (+10, -2) (Diff)
/source/blender/editors/space_file/filesel.c (+29, -20) (Diff)
/source/blender/editors/space_file/file_ops.c (+27, -3) (Diff)
/source/blender/editors/space_file/file_panels.c (+6, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+3, -2) (Diff)
/source/blender/editors/space_image/image_ops.c (+10, -10) (Diff)
/source/blender/editors/space_info/info_ops.c (+5, -5) (Diff)
/source/blender/editors/space_script/script_edit.c (+4, -4) (Diff)
/source/blender/editors/space_script/script_ops.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_add.c (+21, -21) (Diff)
/source/blender/editors/space_text/text_ops.c (+8, -8) (Diff)
/source/blender/makesdna/DNA_space_types.h (+3, -4) (Diff)
/source/blender/makesrna/intern/rna_define.c (+14, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_types.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+3, -7) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+188, -19) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021