Blender Git Loki

Git Commits -> Revision 1b466f7

Revision 1b466f7 by Martin Poirier (master)
July 11, 2005, 23:49 (GMT)
Hide .file blocks in databrowse/pop menu.
This is mainly useful for scripts that generate/load datablocks for their own use and don't want to burry the user under an avalanche of datablocks he/she doesn't care about.

This adds a user pref "Hide .data" which now acts as a default value when opening a new fileselector.
It is also used when creating data select pop menus.

The "ghost" button in a fileselect window is independant from the userpref. It can be turned on/off individually without affecting

Note: When turning the option on/off, it sometimes take a couple of times before the pop menu registers it. Probably some caching thing. Will have to look at it.

Default value is Off.

Commit Details:

Full Hash: 1b466f7765b4c09334c721736f8a4a3c7109bf82
SVN Revision: 4695
Parent Commit: 0c0205a
Lines Changed: +52, -32

4 Modified Paths:

/source/blender/blenkernel/intern/library.c (+7, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/src/filesel.c (+36, -28) (Diff)
/source/blender/src/space.c (+8, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021