Revision 398ce6d by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 28, 2018, 07:13 (GMT) |
Cleanup: Change "Drawing Tools" panel to use the annotation tools, not old GP drawing operator This panel is going away soon, to be replaced by the active tools system. But in the meantime, we need to stop using this old panel as it will cause crashes when used. |
Revision 76f914d by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 28, 2018, 07:13 (GMT) |
Fix: Errors in console when using annotations in viewport Was caused by a missing poll callback for a GP object panel |
Revision 894b3b1 by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 28, 2018, 07:13 (GMT) |
Annotations: Put in place basic building blocks for Annoations UI (WIP) This is still a rough draft, just restoring all the essential bits and pieces to have a workable system. |
Revision 979a881 by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 28, 2018, 07:13 (GMT) |
Cleanup: Remove unused stuff |
Revision f1470f8 by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 28, 2018, 07:13 (GMT) |
Cleanup: Move GP-Object specific UI panels to the appropriate file |
Revision 6b42183 by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) 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. |
Revision 5609507 by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 28, 2018, 07:13 (GMT) |
TODO: Note some struct members that should be moved to runtime data struct |
Revision f855bb5 by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 28, 2018, 07:13 (GMT) |
Annotations: Properly initialise annotation datablocks |
Revision 4726aa3 by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 28, 2018, 07:13 (GMT) |
Annotations: Repurpose an ancient/rarely-used flag to indicate that a GP datablock is used for annotations |
Revision 57ef71c by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 28, 2018, 07:13 (GMT) |
Cleanup: Move comments to sit above the right structs |
Revision 6df2bed by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) 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. |
Revision f3c4220 by Joshua Leung (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 28, 2018, 07:13 (GMT) |
Cleanup: Remove all mention of annotations from GP drawing operator |
Revision b41d293 by Antonio Vazquez (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) 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. |
Revision b612938 by Nick Wu (greasepencil-object, greasepencil-refactor, soc-2018-npr, soc-2019-npr, temp-gpencil-eval) June 28, 2018, 05:46 (GMT) |
Modified triangulator function |
Revision a63777b by Nick Wu (greasepencil-object, greasepencil-refactor, soc-2018-npr, soc-2019-npr, temp-gpencil-eval) June 28, 2018, 04:30 (GMT) |
Fixed normal matrix error. obmat needs double to produce better result. |
Revision 40b2263 by Nick Wu (greasepencil-object, greasepencil-refactor, soc-2018-npr, soc-2019-npr, temp-gpencil-eval) June 28, 2018, 01:31 (GMT) |
Fixed save/reading error on line style thing... |
Revision 84877dc by Nick Wu (greasepencil-object, greasepencil-refactor, soc-2018-npr, soc-2019-npr, temp-gpencil-eval) June 28, 2018, 00:46 (GMT) |
Merge remote-tracking branch 'remotes/origin/blender2.8' into soc-2018-npr Conflicts: release/scripts/startup/bl_ui/properties_scene.py |
Revision b3ec99f by Antonio Vazquez (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 27, 2018, 20:44 (GMT) |
Revision 8b1315f by Antonio Vazquez (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) 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, |
Revision b0ba734 by Antonio Vazquez (greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-vfx) June 27, 2018, 14:51 (GMT) |
Merge branch 'blender2.8' into greasepencil-object |
|