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) |
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 |
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. |
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. |
Revision d56a035 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, 15:30 (GMT) |
Fix enum after merge The code has been moved to new header file, so new definitions were missed. |
Revision c1401c7 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, 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 |
Revision 36b6406 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, 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. |
Revision 2bc6c2d 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, 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 |
Revision f4f2303 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, 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 |
Revision c9c2e88 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, 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. |
Revision 6861ea7 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, 14:05 (GMT) |
Cleanup: Use BLI_rect functions instead of inlining boundbox range checks |
Revision 71c423f 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, 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 |
Revision 2637686 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 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. |
Revision 90387cf 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 5, 2018, 15:12 (GMT) |
Merge branch 'blender2.8' into greasepencil-object |
Revision f276b08 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 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. |
|