Go to file
Bastien Montagne 4faef1e10c Add drag-resize to uiTemplatePreview (mat/tex/etc. preview widget).
This is done by adding a new button type, GRIP, similar to other numbuttons
(scroll, slider, ...), which here controls the preview height.

Then, we add a new DNA struct to be able to save that height in Blend files
(note I choose not to use Panel struct for this, because we would then have the
same limitation we used to have with uiLists, only one preview per panel
and no preview outside panel).

This implies a change to template_preview UI RNA/py API (each preview needs an ID),
but this is backward compatible, as by default datablock type will be used if no ID is
given (which means e.g. all material previews with no ID will have same height).

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D342
2014-04-02 13:03:11 +02:00
build_files fix scons ffmpeg libraries for mingw32 2014-03-30 01:35:39 +02:00
doc BGE doc cleanup: Some small cleanups in the BGE docs: 2014-03-31 22:22:04 -07:00
extern Unbreak carve build for clang 2014-03-28 14:41:04 +06:00
intern Cycles: add dedicated UV Map node, easier to find and has convenient auto complete. 2014-04-02 11:53:44 +02:00
release Cycles: add dedicated UV Map node, easier to find and has convenient auto complete. 2014-04-02 11:53:44 +02:00
scons@59512aadd1 Revert changes to submodules 2014-03-10 15:17:22 +06:00
source Add drag-resize to uiTemplatePreview (mat/tex/etc. preview widget). 2014-04-02 13:03:11 +02:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore .gitignore: Adding CMakeLists.txt.user for QtCreator users. 2014-01-26 17:52:14 -08:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define 2014-04-01 15:22:28 +11:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Found another place where nproc can be used 2014-03-02 10:29:40 +01:00
SConstruct Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define 2014-04-01 15:22:28 +11:00