Grease Pencil. Draw tool pressure - curve widget button missing? #88787

Closed
opened 2021-06-03 12:00:18 +02:00 by Tomasz Kaye · 17 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-16 05:49, hash: 0e581f6196

Short description of error
The Blender manual for the Grease Pencil draw tool says:

Use Pressure (pressure sensitivity icon)
Uses stylus pressure to control how strong the effect is. The gradient of the pressure can be customized using the curve widget.

But I see no button (or any other way) to access a curve widget for mapping the draw tool's pressure. Should there be one?

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-16 05:49, hash: `0e581f6196` **Short description of error** The Blender manual for the Grease Pencil draw tool says: > Use Pressure (pressure sensitivity icon) > Uses stylus pressure to control how strong the effect is. The gradient of the pressure can be customized using the curve widget. But I see no button (or any other way) to access a curve widget for mapping the draw tool's pressure. Should there be one?
Author

Added subscriber: @info-27

Added subscriber: @info-27
Member

Added subscribers: @antoniov, @lichtwerk

Added subscribers: @antoniov, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

For some reason these were re-organized to only show in the Properties Editor in b571516237

image.png

@antoniov: wouldnt it make much more sense to have these in the sidebar as well? What was the reasoning to exclude the curves from there?

For some reason these were re-organized to only show in the Properties Editor in b571516237 ![image.png](https://archive.blender.org/developer/F10155806/image.png) @antoniov: wouldnt it make much more sense to have these in the sidebar as well? What was the reasoning to exclude the curves from there?
Member

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

This would also show the curve widget in the sidebar:

P2153: T88787_snippet



diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index f3462dfb35d..f96df8843d9 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -1235,7 +1235,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False)
         row.prop(brush, "size", text="Radius")
         row.prop(gp_settings, "use_pressure", text="", icon='STYLUS_PRESSURE')
 
-        if gp_settings.use_pressure and context.area.type == 'PROPERTIES':
+        if gp_settings.use_pressure:
             col = layout.column()
             col.template_curve_mapping(gp_settings, "curve_sensitivity", brush=True,
                                        use_negative_slope=True)
@@ -1244,7 +1244,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False)
         row.prop(gp_settings, "pen_strength", slider=True)
         row.prop(gp_settings, "use_strength_pressure", text="", icon='STYLUS_PRESSURE')
 
-        if gp_settings.use_strength_pressure and context.area.type == 'PROPERTIES':
+        if gp_settings.use_strength_pressure:
             col = layout.column()
             col.template_curve_mapping(gp_settings, "curve_strength", brush=True,
                                        use_negative_slope=True)
This would also show the curve widget in the sidebar: [P2153: T88787_snippet](https://archive.blender.org/developer/P2153.txt) ``` diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index f3462dfb35d..f96df8843d9 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -1235,7 +1235,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False) row.prop(brush, "size", text="Radius") row.prop(gp_settings, "use_pressure", text="", icon='STYLUS_PRESSURE') - if gp_settings.use_pressure and context.area.type == 'PROPERTIES': + if gp_settings.use_pressure: col = layout.column() col.template_curve_mapping(gp_settings, "curve_sensitivity", brush=True, use_negative_slope=True) @@ -1244,7 +1244,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False) row.prop(gp_settings, "pen_strength", slider=True) row.prop(gp_settings, "use_strength_pressure", text="", icon='STYLUS_PRESSURE') - if gp_settings.use_strength_pressure and context.area.type == 'PROPERTIES': + if gp_settings.use_strength_pressure: col = layout.column() col.template_curve_mapping(gp_settings, "curve_strength", brush=True, use_negative_slope=True) ```

Added subscriber: @mendio

Added subscriber: @mendio

Grease pencil brushes have a lot of curve widgets, not just Radius and Strength (see random settings for example), the decision was to keep as clean as possible the topbar only with the toggle buttons to activate the use of the tablet preassure and put all the curve widget in properties. Those settings are for advanced user and is not something that need tweaking very often.

Grease pencil brushes have a lot of curve widgets, not just Radius and Strength (see random settings for example), the decision was to keep as clean as possible the topbar only with the toggle buttons to activate the use of the tablet preassure and put all the curve widget in properties. Those settings are for advanced user and is not something that need tweaking very often.
Author

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Tomasz Kaye self-assigned this 2021-06-03 15:01:28 +02:00
Author

Thanks for the clarification! i'll close the ticket if everyone's ok with that

Thanks for the clarification! i'll close the ticket if everyone's ok with that
Member

Was not talking about the top bar, I was refering to the discrepancy between the Properties Editor and the sidebar (they are available in the Properties Editor but not the sidebar -- which I find confusing):

image.png

Was not talking about the top bar, I was refering to the discrepancy between the Properties Editor and the sidebar (they are available in the Properties Editor but not the sidebar -- which I find confusing): ![image.png](https://archive.blender.org/developer/F10155913/image.png)

I see, in that case it seems to be an omission when all the widgets were moved to properties. @antoniov could you take a look?

I see, in that case it seems to be an omission when all the widgets were moved to properties. @antoniov could you take a look?

@lichtwerk This looks that we missed to add these properties to the panel or that we decided to avoid too many things, don't remember now, but .if @mendio agrees in the UI side, your patch is ok.

@lichtwerk This looks that we missed to add these properties to the panel or that we decided to avoid too many things, don't remember now, but .if @mendio agrees in the UI side, your patch is ok.

In #88787#1170426, @antoniov wrote:
@lichtwerk This looks that we missed to add these properties to the panel or that we decided to avoid too many things, don't remember now, but .if @mendio agrees in the UI side, your patch is ok.

Sure, properties and side panel should work the same

> In #88787#1170426, @antoniov wrote: > @lichtwerk This looks that we missed to add these properties to the panel or that we decided to avoid too many things, don't remember now, but .if @mendio agrees in the UI side, your patch is ok. Sure, properties and side panel should work the same

@lichtwerk do you commit the change or I can do it if you can't?

@lichtwerk do you commit the change or I can do it if you can't?
Member

will do tomorrow

will do tomorrow

This issue was referenced by 9ba6b64efa

This issue was referenced by 9ba6b64efa3acb941dee58207489bc593449f133
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#88787
No description provided.