February 7, 2018, 04:31 (GMT) |
Cleanup |
February 7, 2018, 04:26 (GMT) |
Check multiple modes with brush update |
Revision f3d894d by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) 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:36 (GMT) |
Correct swapped flags |
February 7, 2018, 02:35 (GMT) |
Remove headers left in |
February 7, 2018, 02:29 (GMT) |
Pass object mode instead of eval_ctx for brush update function |
Revision bb30a72 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) 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) |
Revision 6c13ef9 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) 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, 02:06 (GMT) |
Fix crash in ED_editors_flush_edits Also take all workspaces into account using WM_windows_object_mode_get |
February 7, 2018, 01:38 (GMT) |
Correct bad eval_ctx.mode use. Use workspace object mode instead |
Revision c8844ef by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) 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 |
Revision 17fa87a by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) February 7, 2018, 01:18 (GMT) |
Clean Boundary Fill: Clarify Labels/Tooltips |
Revision 3ec4221 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) February 7, 2018, 01:17 (GMT) |
GP "Strokes Edit" Panel: Consolidate a few items in preparation for restoration of 2D GPencil (WIP) The groupings here are not final, and can still be adjusted/scrapped. 1) Used "operator_menu_enum"'s in place of listing out all the modes of certain operators with multiple modes. This brings those operators more in line with the other ops here (and in other parts). 2) Fixed the code to not show 3D only operators if this panel gets used anywhere else. |
Revision f78059a by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) February 7, 2018, 00:52 (GMT) |
Cleanup: Style fixes |
February 7, 2018, 00:20 (GMT) |
Merge branch '28' into temp-workspace-object-mode-removal |
Revision 70a41a5 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) 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 7, 2018, 00:05 (GMT) |
Merge branch '28' into temp-workspace-object-mode-removal |
Revision a4b72a4 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) 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. |
Revision 96ba61c by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) February 6, 2018, 16:23 (GMT) |
Merge branch 'blender2.8' into greasepencil-object |
Revision c0cef0a by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) 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. |
|