Blender Git Loki

Blender Git "greasepencil-experimental" branch commits.

Page: 47 / 184

June 28, 2018, 07:13 (GMT)
Cleanup: Remove unused stuff
June 28, 2018, 07:13 (GMT)
Cleanup: Move GP-Object specific UI panels to the appropriate file
June 28, 2018, 07:13 (GMT)
3D Annotations: Restore ability to access annotations from the 3D view

For now, the "gpencil" context properties work as follows:
* If the active object is a GP Object, the GP data associated with
that is returned
* Otherwise, the Scene's GP data (i.e. annotations) are used

We may need to revise this later. But in the meantime, I'm restoring
this so that we have a quick way of figuring out what parts of the
annotation tool workflow are currently broken.
June 28, 2018, 07:13 (GMT)
TODO: Note some struct members that should be moved to runtime data struct
June 28, 2018, 07:13 (GMT)
Annotations: Properly initialise annotation datablocks
June 28, 2018, 07:13 (GMT)
Annotations: Repurpose an ancient/rarely-used flag to indicate that a GP datablock is used for annotations
June 28, 2018, 07:13 (GMT)
Cleanup: Move comments to sit above the right structs
June 28, 2018, 07:13 (GMT)
Annotations: First steps towards having working annotations again

Copy-back (from 2.8) and split out "Annotations" drawing operator/rendering
code from the "GP Object" versions of the same code.

Notes:
* All "annotation" related things are now in the annotate_*.c files,
while "drawgpencil.c" and "gpencil_paint.c" are for the GP Object only
now. This will simplify maintenance of the two different usecases,
as the GP Object versions are significantly more complicated and filled
with extra cruft.

* The general "Grease Pencil" keymap (i.e. the one that allows DKEY+LMB-drag
to draw) is now for annotation usage only. For GP Objects, you can add a
blank GP Object, enter Draw Mode, and start drawing.

Code Changes:
* Removed all 2D drawing-code entrypoints from drawgpencil.c

* Cleaned up most of the annotate_paint.c and annotate_draw.c code
to remove stuff that annotations won't use (e.g. brushes, palettes,
fancy line effects, etc.) As much as possible, these have been restored
back to a pre 2.77 state - with the notable exception of per-layer
Onion Skinning, for which the settings were removed already.
June 28, 2018, 07:13 (GMT)
Cleanup: Remove all mention of annotations from GP drawing operator
June 28, 2018, 07:12 (GMT)
Set again mix pass to DEPTH_LESS

Using ALWAYS for this pass is wrong because when using several objects, only the less z-depth object is drawn.
June 27, 2018, 20:44 (GMT)
Revert "Fix wrong engine name"

This reverts commit 7c3c2561705afb2c7eae905df727f9861248737b.
June 27, 2018, 18:15 (GMT)
Temp fix to compile

There is a problem with the generator for themes, and this is a temp fix while Campbell fix the generator,
June 27, 2018, 14:51 (GMT)
Merge branch 'blender2.8' into greasepencil-object
June 27, 2018, 14:45 (GMT)
Increase multisample texture precission

When use FX get glitches.
June 27, 2018, 14:44 (GMT)
Fix wrong engine name
June 27, 2018, 09:43 (GMT)
Merge branch 'blender2.8' into greasepencil-object
June 27, 2018, 09:33 (GMT)
Fix struct typo name errors
June 27, 2018, 09:28 (GMT)
Fix FXAA problem when drawing

The internal passes never must check z-depth values, only in the final pass.
June 27, 2018, 06:40 (GMT)
Compile fixes after merge
June 27, 2018, 06:25 (GMT)
Merge branch 'blender2.8' into greasepencil-object

# Conflicts:
# source/blender/editors/gpencil/gpencil_interpolate.c
# source/blender/editors/gpencil/gpencil_paint.c
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021