Blender Git Loki

Blender Git "temp-greasepencil-vfx" branch commits.

Page: 58 / 145

February 8, 2018, 10:43 (GMT)
WIP: Temporary hack to get something showing up when using GP in 2D editors for annotations

Temporary restoration of init_palettes() for the non-2D case. Ultimately,
this will not remain, but we need to retain support for this until the
drawing code is sorted out.
February 8, 2018, 10:07 (GMT)
Fix render pixel size

The calculation must be equal to the viewport, because using the camera pixel size, the result is not correct.
February 8, 2018, 03:16 (GMT)
Merge branch 'blender2.8' into greasepencil-object

Conflicts:
source/blender/editors/space_outliner/outliner_draw.c
February 8, 2018, 03:13 (GMT)
Fix: Data-Blocks view in Outliner no longer displayed property values, making it semi-useless

Partially revert efe1af3d11a930b539718cc566049f07316427ff

The offending commit over-zealously removed the datablocks viewer case
as well, when only the condition needed to be modified.
February 8, 2018, 03:09 (GMT)
Cleanup - Use builtin function for clarity
February 8, 2018, 02:46 (GMT)
Fix crashes trying to draw GP strokes in 2D editors

Currently nothing appears when you try to draw still, but at least it
won't crash.
February 8, 2018, 01:54 (GMT)
Cleanup

* Reduce number of extra/excess layout.row() elements with a single item
* Simplify logic (redundant check)
February 7, 2018, 18:41 (GMT)
Try to fix pixsize in render mode

Still the pixsize is not working becaus ethe values are not valid.
February 7, 2018, 17:18 (GMT)
WIP: More work on render

Now get a result, but still the stroke is missing and replace any other render image.
February 7, 2018, 15:58 (GMT)
WIP: Initial steps to define render to image functions

This commit is to put in place all components of the render, but still not working and only enabled in debug mode.
February 7, 2018, 15:32 (GMT)
Calculate zdepth relative to camera plane if rv3d is null

If the viewport is not available, RegionView3D is null, so to calculate the z-depth must use the camera plane.

This is a preliminary step to integrate render (F12)
February 7, 2018, 13:12 (GMT)
Disable grease pencil paper in render mode

This is a preliminary step to integrate render (F12)
February 7, 2018, 10:07 (GMT)
Merge branch 'blender2.8' into greasepencil-object
February 7, 2018, 10:04 (GMT)
Cleanup: Reduce number of passes using pointers

Instead to define different passes for mixing final result, now reuse the passes and use pointers to replace input textures.
February 7, 2018, 09:31 (GMT)
Cleanup style
February 7, 2018, 08:00 (GMT)
Fix: Don't show "Brush Appearance" panel in Edit Mode
February 7, 2018, 02:58 (GMT)
GP UI: WIP Attempt to cleanup some weird alignment/nesting/spacing issues

It's unclear to my why all these fields seemed to be individually wrapped
in both a row and column layout, but with "align=True" enabled, causing
the widgets to be oddly separated in the UI
February 7, 2018, 02:28 (GMT)
GP Eraser Panel: Expose button to activate eraser

It's currently impossible to activate the eraser in the 3D view otherwise
if you're using a mouse (unlikely for most serious 2D artists, but possible
for non-sculpting modellers/animators) or if your tablet doesn't have an
eraser end (IIRC some non-Wacom styluses may have this limitation)

Also noted that we should also expose the hard/soft mode, and/or strength
settings here too (as opposed to having these hardcoded and/or mapped to
hardcoded modifier keys only)
February 7, 2018, 02:14 (GMT)
GP UI - 2D/3D Split: Move all 3D toolbar only panel code to space_view3d_toolbar.py

* All toolbar panels that are only used in the 3D view have now been
moved out of properties_gpencil_common.py, as they are *only* used
in that editor.

* Sculpt, Edit, and Eraser panel definiitions remain in the common file
for now, as it's still possible for these to be used in other editors
(at least in theory - there may be some new limitations I haven't found yet)
February 7, 2018, 01:36 (GMT)
GP UI - 2D/3D Split: Split out the "Create Shapes" and "DrawingToolsPanel" into separate classes

The 3D/GP Object only used part of the old "DrawingToolsPanel" to
draw the "Shapes" panel, going so far as to use an empty label +
custom draw header function to dynamically change the label.

This commit properly fixes the code here by separating out the code for
the two use cases:
* The GP object case is now handled by a dedicated "GreasePencilCreateShapesPanel"
that only does the "Shapes" stuff
* I've reverted the other case back to the master version, as this is more
suitable for use by all the other 2D editors
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021