Blender Git Loki

Blender Git "experimental_gp_weight" branch commits.

Page: 36 / 122

February 7, 2018, 00:52 (GMT)
Cleanup: Style fixes
February 7, 2018, 00:09 (GMT)
Cleanup: Move modal operator draw callbacks out of ED_gpencil.h

Turns out that these were only actually used from within the gpencil
module (i.e. they were defined in drawgpencil.c, and called from the
gpencil_<opname>.c files), so it's not even necessary to export these
function prototypes in the ED_gpencil.h header.
February 6, 2018, 23:33 (GMT)
Cleanup: Remove color picker defines from headers

There's no need for these defines to be in any headers, as this operator
is entirely self-contained in its own file now.
February 6, 2018, 16:23 (GMT)
Merge branch 'blender2.8' into greasepencil-object
February 6, 2018, 16:17 (GMT)
Remove limitation of fill only colors

Now, when a fill brush is selected, the color picker shows all colors, not only fill colors. This makes the palette more consistent.
February 6, 2018, 15:30 (GMT)
Fix enum after merge

The code has been moved to new header file, so new definitions were missed.
February 6, 2018, 15:18 (GMT)
Merge branch 'blender2.8' into greasepencil-object

Conflicts:
source/blender/editors/object/object_modifier.c
source/blender/editors/space_outliner/outliner_tree.c
source/blender/makesdna/DNA_object_types.h
February 6, 2018, 14:05 (GMT)
GP Toolbar UI: Move the "Eraser" and "Brush Appearance" panels to the Tools tab in Draw Mode

It was awkward having these in the "Options" tab, where they were
likely to get missed. This change will perhaps make more sense
after some of my other upcoming changes here.
February 6, 2018, 14:05 (GMT)
Fix: GP Color Picker text positioning/sizing was using an absolute pixel size for an offset

This would break when changing the DPI settings
February 6, 2018, 14:05 (GMT)
Cleanup: Simplify various bits of the GP Color Picker code

* Removed the redundant init() wrapper
* Got the "focus" text highlight working again (missed from previous commit)
* Removed some unused vars
* Clarified reason why poll fails
February 6, 2018, 14:05 (GMT)
GP Color Picker: Highlight the color under the mouse

Previously, the color picker provided no feedback on which
color under the mouse would get applied when clicking.
It also wasn't that clear what the current active color
was.

This commit fixes this, making the UI feel more like a
standard Blender menu/popup, and less like a glitchy
non-interactive graphic, by drawing a highlight rect
behind the item currently under the mouse. By default,
the current/active color will be highlighted before
the mouse enters the panel.
February 6, 2018, 14:05 (GMT)
Cleanup: Use BLI_rect functions instead of inlining boundbox range checks
February 6, 2018, 14:05 (GMT)
GP Color Picker: Shrink thickness of outlines around color swatches

Now it looks less cartoonish, and more in line with other UI widgets
February 5, 2018, 17:03 (GMT)
Fix error of render when select object not GP

The problem was the cache was not set to dirty if the active object was not a GP object.
February 5, 2018, 15:12 (GMT)
Merge branch 'blender2.8' into greasepencil-object
February 4, 2018, 19:05 (GMT)
Convert colors to linear for OpenGL render

This is a workaround to convert the colors to linear space instead of sRGB for opengl render.

This can change in the future, but now this fix is required in order to produce the renders of Hero open movie.
February 4, 2018, 12:42 (GMT)
Merge branch 'blender2.8' into greasepencil-object
February 3, 2018, 15:26 (GMT)
Merge branch 'blender2.8' into greasepencil-object
February 3, 2018, 11:37 (GMT)
Replace BKE_object_is_visible by context function
February 3, 2018, 10:10 (GMT)
Add missing initialization values to DrawEngineType

Some new callback variables have been added to the DrawEngineType struct. These values are not used, but need to be initializated properly with NULL.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021