Hair Particles: Deflect Emitter distance will affect all edited hairs on entering particle particle editmode #53625

Open
opened 2017-12-24 15:25:54 +01:00 by Matias · 3 comments

System Information
Windows 10 Home
Intel Pentium G4560
16 GB
Integrated GPU

Blender 2.79
Broken: (example: 2.69.7 4b206af, see splash screen)
Worked: (optional)

Short description of the error

I have a hair particle system on a mesh emitter and I want to comb hairs with diferent angles. For this I set the Deflect emitter to 0.1 so it stands pretty straight up and comb it . Then I do the same on another part of the mesh but this time setting deflect emitter to 3 and automatically all the combed hairs ( including the 0.1 ones ) are set to 3.

Exact steps for others to reproduce the error
1)Create a cube
2)aply a subsurface modifier with 4 subdivisions
3)aply a particle system with hair type
4)switch to particle edit mode
5)in tools tab choose comb and set deflect emitter to 0.1 and comb one side of the cube
6)set deflect emitter to 3 and comb another side of the cube
7)switch back to object mode ( everything looks ok)
8)switch to particle edit mode again ( and now the side combed with the deflect emitter set to 0.1
is changed to match the side with deflect emitter set to 3 )

Attached file cube with hairs.blend
Note: If we invert step 5 and 6 order the error is not reproduce.

**System Information** Windows 10 Home Intel Pentium G4560 16 GB Integrated GPU **Blender 2.79** Broken: (example: 2.69.7 4b206af, see splash screen) Worked: (optional) **Short description of the error** I have a hair particle system on a mesh emitter and I want to comb hairs with diferent angles. For this I set the Deflect emitter to 0.1 so it stands pretty straight up and comb it . Then I do the same on another part of the mesh but this time setting deflect emitter to 3 and automatically all the combed hairs ( including the 0.1 ones ) are set to 3. **Exact steps for others to reproduce the error** 1)Create a cube 2)aply a subsurface modifier with 4 subdivisions 3)aply a particle system with hair type 4)switch to particle edit mode 5)in tools tab choose comb and set deflect emitter to 0.1 and comb one side of the cube 6)set deflect emitter to 3 and comb another side of the cube 7)switch back to object mode ( everything looks ok) 8)switch to particle edit mode again ( and now the side combed with the deflect emitter set to 0.1 is changed to match the side with deflect emitter set to 3 ) Attached file [cube with hairs.blend](https://archive.blender.org/developer/F1514711/cube_with_hairs.blend) Note: If we invert step 5 and 6 order the error is not reproduce.
Author

Added subscriber: @matimonsarca

Added subscriber: @matimonsarca
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

I can confirm this behaviour, pe_deflect_emitter() - which uses whatever deflect distance is currently set for all hairs - is called along draw_update_ptcache_edit() when entering particle editmode.
Not sure if there's a way to fiddle with PSYS_HAIR_UPDATED or something like that, will have to dig deeper...
Also not sure if this would be considered a bug [it sure feels like one], but for now, triaging this as confirmed...

note: as a workaround, one can of course disable Deflect Emiter before leaving particle edit mode. This way entering particle edit mode again wont have an effect (regarding deflection)

I can confirm this behaviour, pe_deflect_emitter() - which uses whatever deflect distance is currently set for all hairs - is called along draw_update_ptcache_edit() when entering particle editmode. Not sure if there's a way to fiddle with PSYS_HAIR_UPDATED or something like that, will have to dig deeper... Also not sure if this would be considered a bug [it sure feels like one], but for now, triaging this as confirmed... note: as a workaround, one can of course disable `Deflect Emiter` before leaving particle edit mode. This way entering particle edit mode again wont have an effect (regarding deflection)
Philipp Oeser changed title from Particle System>Deflect Emitter bug to Hair Particles: Deflect Emitter distance will affect all edited hairs on entering particle particle editmode 2020-01-27 14:24:48 +01:00
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:48:01 +01:00
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
2 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#53625
No description provided.