Unclear Particle Texture Influence Setions #62055

Closed
opened 2019-02-28 17:47:14 +01:00 by Rombout Versluijs · 12 comments

System Information
OSX 10.11.6
Intel Iris Pro 1536

Blender Version
2.80 (sub 45), 779860d34e, 2019-02-22 22:26

The different sections for hair particle influence texture is not very clear in this new layout.

Exact steps for others to reproduce the error

  1. Add object (Mesh)
  2. Add Hair psys
  3. Add texture & switch to texture panel
  4. Locate influence panel
  5. See images below, The header of each section are replaced by adding only to the first option of each section. New users will never understand this.

PS why does it show 2 animation properties?

bl 2.80
Screen Shot 2019-02-28 at 12.40.14.png

bl 2.79
Screen Shot 2019-02-28 at 12.40.06.png

**System Information** OSX 10.11.6 Intel Iris Pro 1536 **Blender Version** 2.80 (sub 45), 779860d34e26, 2019-02-22 22:26 The different sections for hair particle influence texture is not very clear in this new layout. **Exact steps for others to reproduce the error** 1. Add object (Mesh) 2. Add Hair psys 3. Add texture & switch to texture panel 4. Locate influence panel 5. See images below, The header of each section are replaced by adding only to the first option of each section. New users will never understand this. PS why does it show 2 animation properties? bl 2.80 ![Screen Shot 2019-02-28 at 12.40.14.png](https://archive.blender.org/developer/F6731100/Screen_Shot_2019-02-28_at_12.40.14.png) bl 2.79 ![Screen Shot 2019-02-28 at 12.40.06.png](https://archive.blender.org/developer/F6731099/Screen_Shot_2019-02-28_at_12.40.06.png)

Added subscriber: @RomboutVersluijs

Added subscriber: @RomboutVersluijs

According to new design method, it should have sub-panels like Preferences.

According to new design method, it should have sub-panels like Preferences.

Added subscribers: @pablovazquez, @ZedDB

Added subscribers: @pablovazquez, @ZedDB
Pablo Vazquez was assigned by Sebastian Parborg 2019-03-02 14:11:19 +01:00

@pablovazquez is it ok as it is now or do you think som changes are in order?

@pablovazquez is it ok as it is now or do you think som changes are in order?
Member

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish
Member

It is confusing indeed. It needs a mix of subpanels for splitting into categories and fixing the list.

The 2 decorators is one per property (toggle and factor). I think we can get rid of the toggle decorator, it would be hiding functionality but it's less confusing and we already do it in other parts (object transform panel).

I'm a bit short on time at the moment but here's a quick proposal for handling the toggles. It still needs subpanels. @WilliamReynish do you have plans to work on this area sometime soon? I can look into it but only next month.
{F6746097, size=full}

diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py
index 1761cec8106..bfce390e6b4 100644
--- a/release/scripts/startup/bl_ui/properties_texture.py
+++ b/release/scripts/startup/bl_ui/properties_texture.py
@@ -793,12 +793,19 @@ class TEXTURE_PT_influence(TextureSlotPanel, Panel):
         tex = context.texture_slot
 
         def factor_but(layout, toggle, factor, name):
+            layout.use_property_decorate = False
+
             row = layout.row(align=True)
-            row.active = getattr(tex, toggle)
 
-            row.prop(tex, factor, text=name, slider=True)
+            row.alignment = 'RIGHT'
+            row.label(text=name)
+            row.prop(tex, toggle, text="")
+
             sub = row.row(align=True)
-            sub.prop(tex, toggle, text="")
+            sub.active = getattr(tex, toggle)
+            sub.use_property_decorate = True
+            sub.prop(tex, factor, text="", slider=True)
+
             return sub  # XXX, temp. use_map_normal needs to override.
 
         if isinstance(idblock, ParticleSettings):
It is confusing indeed. It needs a mix of subpanels for splitting into categories and fixing the list. The 2 decorators is one per property (toggle and factor). I think we can get rid of the toggle decorator, it would be hiding functionality but it's less confusing and we already do it in other parts (object transform panel). I'm a bit short on time at the moment but here's a quick proposal for handling the toggles. It still needs subpanels. @WilliamReynish do you have plans to work on this area sometime soon? I can look into it but only next month. {[F6746097](https://archive.blender.org/developer/F6746097/image.png), size=full} ``` diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py index 1761cec8106..bfce390e6b4 100644 --- a/release/scripts/startup/bl_ui/properties_texture.py +++ b/release/scripts/startup/bl_ui/properties_texture.py @@ -793,12 +793,19 @@ class TEXTURE_PT_influence(TextureSlotPanel, Panel): tex = context.texture_slot def factor_but(layout, toggle, factor, name): + layout.use_property_decorate = False + row = layout.row(align=True) - row.active = getattr(tex, toggle) - row.prop(tex, factor, text=name, slider=True) + row.alignment = 'RIGHT' + row.label(text=name) + row.prop(tex, toggle, text="") + sub = row.row(align=True) - sub.prop(tex, toggle, text="") + sub.active = getattr(tex, toggle) + sub.use_property_decorate = True + sub.prop(tex, factor, text="", slider=True) + return sub # XXX, temp. use_map_normal needs to override. if isinstance(idblock, ParticleSettings): ```

This seems nicer indeed, although in the latest pic, everything seems pushed too far to the right?

I will take a look at it, yes.

This seems nicer indeed, although in the latest pic, everything seems pushed too far to the right? I will take a look at it, yes.

I had a look at swapping the checkbox over to the left hand side, and got this result:

Screenshot 2019-03-02 at 17.18.14.png

I could fiddle with it more, but it seems as if the current layout system just doesn't really support this kind of layout well. It would be great to have a built-in way to handle this kind of layout - it's used quite a lot of places throughout Blender.

The way it's currently coded also makes it difficult to use sub-panels, which is annoying. Sub-panels are, internally, completely separate panels, which causes some issues in cases like this.

I had a look at swapping the checkbox over to the left hand side, and got this result: ![Screenshot 2019-03-02 at 17.18.14.png](https://archive.blender.org/developer/F6746584/Screenshot_2019-03-02_at_17.18.14.png) I could fiddle with it more, but it seems as if the current layout system just doesn't really support this kind of layout well. It would be great to have a built-in way to handle this kind of layout - it's used quite a lot of places throughout Blender. The way it's currently coded also makes it difficult to use sub-panels, which is annoying. Sub-panels are, internally, completely separate panels, which causes some issues in cases like this.
Member

Maybe using my approach but making each row actually two columns? So the label is 50%, and slider+checkbox is the other 50%.

Maybe using my approach but making each row actually two columns? So the label is 50%, and slider+checkbox is the other 50%.

@pablovazquez Sure, that might work. Will take a look

@pablovazquez Sure, that might work. Will take a look
Pablo Vazquez removed their assignment 2019-11-07 16:07:01 +01:00
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

Archiving this since it won't be fixed for 2.81, particles are being deprecated and 2.82 will hopefully be having a different approach for them anyway.

Archiving this since it won't be fixed for 2.81, particles are being deprecated and 2.82 will hopefully be having a different approach for them anyway.
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
4 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#62055
No description provided.