Particle Edit mode for non hair particles - 2 Crashes #64843

Open
opened 2019-05-19 18:13:46 +02:00 by Michael P. · 16 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 760/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.65

Blender Version
Broken: version: 2.80 (sub 69), branch: blender2.7, commit date: 2019-05-17 23:36, hash: 03672e7783
Worked: (optional)

Short description of error
Particle Edit: 2 Crashes

Exact steps for others to reproduce the error
Particle Edit: 2 Crashes

  • Open the blender file and click on the buttons "Particle select and display point"

  • Crash 1 (Screenshot)

  • Open the blender file and click on the tool "Weight" and click into the particles

  • Crash 2 (Screenshot)

  • Also had a crash with "Puff"

  • file not included

  • There are some tools that do nothing while others work

  • User gets no feedback / error message but give no feedback

2019-05-19-particle-edit-crashes.png

2019-05-19-particle-edit-crash.blend

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GTX 760/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.65 **Blender Version** Broken: version: 2.80 (sub 69), branch: blender2.7, commit date: 2019-05-17 23:36, hash: `03672e7783` Worked: (optional) **Short description of error** Particle Edit: 2 Crashes **Exact steps for others to reproduce the error** Particle Edit: 2 Crashes - Open the blender file and click on the buttons "Particle select and display point" - Crash 1 (Screenshot) - Open the blender file and click on the tool "Weight" and click into the particles - Crash 2 (Screenshot) - Also had a crash with "Puff" - file not included - There are some tools that do nothing while others work - User gets no feedback / error message but give no feedback ![2019-05-19-particle-edit-crashes.png](https://archive.blender.org/developer/F7049145/2019-05-19-particle-edit-crashes.png) [2019-05-19-particle-edit-crash.blend](https://archive.blender.org/developer/F7049147/2019-05-19-particle-edit-crash.blend)
Author

Added subscriber: @MichaelParucha

Added subscriber: @MichaelParucha
Member

Added subscriber: @nacioss

Added subscriber: @nacioss
Member

I confirm all the crashes

I confirm all the crashes
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Confirmed, checking...

Confirmed, checking...
Member

Added subscribers: @Sergey, @brecht

Added subscribers: @Sergey, @brecht
Member

some notes:
I think Puff, Cut and Add are just for hair [not for editing emmiter paths]?
Weight is not really for emmiter paths either (but can be used to tweak softbodies)

Maybe we can hide the brushes/tools (if they are not appropriate)?

crashes:

  • (1) happens when point->totkey is zero (checking for that in particle_batch_cache_ensure_edit_tip_pos and in ensure_edit_inner_points_count do nothing instead of assert helps), I assume these are unborn/died particles?

  • (2) Weight brush needs particle->hair (but doesnt check for it... see particle_key_weight)
    I can do Diffs for both...

  • btw. edit point / tip drawing doesnt seem to be implemented yet?

  • btw. cloth editing seems to work (but misses edit paths drawing)?

  • btw. softbody editing seems to work (but misses edit paths drawing)?

Since this seems to be a mixed bag of issues, already subscribing @Sergey and @brecht here: shall I do the Diffs (and also look into the editpoint drawing / editpath missing implementations?)
Is this a high prio for 2.80?

some notes: I think `Puff`, `Cut` and `Add` are just for hair [not for editing emmiter paths]? `Weight` is not really for emmiter paths either (but can be used to tweak softbodies) Maybe we can hide the brushes/tools (if they are not appropriate)? crashes: - (1) happens when `point->totkey` is zero (checking for that in `particle_batch_cache_ensure_edit_tip_pos` and in `ensure_edit_inner_points_count` do nothing instead of assert helps), I assume these are unborn/died particles? - (2) `Weight` brush needs particle->hair (but doesnt check for it... see `particle_key_weight`) I can do Diffs for both... - btw. edit point / tip drawing doesnt seem to be implemented yet? - btw. cloth editing seems to work (but misses edit paths drawing)? - btw. softbody editing seems to work (but misses edit paths drawing)? Since this seems to be a mixed bag of issues, already subscribing @Sergey and @brecht here: shall I do the Diffs (and also look into the editpoint drawing / editpath missing implementations?) Is this a high prio for 2.80?
Member

EDIT: corrected previous comment about softbody editing (seems to work indeed -- still paths drawing is missing...)

EDIT: corrected previous comment about softbody editing (seems to work indeed -- still paths drawing is missing...)

Not super high priority, but still would be good to fix for 2.80.

Not super high priority, but still would be good to fix for 2.80.
Author

What is the status here? Will it be fixed for 2.80? Thanks.

What is the status here? Will it be fixed for 2.80? Thanks.
Author

Can report that the Crash 2 is fixed (doesn't occur because there is no functionality), but Crash 1 is still valid.
Because this ticket is not assigned to anyone, I assigned it to @brecht (I know I'm not allowed to do this...)

Tested with blender-2.80.0-git.5f140e61c28c

Can report that the Crash 2 is fixed (doesn't occur because there is no functionality), but Crash 1 is still valid. Because this ticket is not assigned to anyone, I assigned it to @brecht (I know I'm not allowed to do this...) Tested with blender-2.80.0-git.5f140e61c28c
Brecht Van Lommel was assigned by Michael P. 2019-07-24 17:15:15 +02:00
Brecht Van Lommel removed their assignment 2019-07-24 17:19:32 +02:00

Thanks, but we'll assign reports ourselves.

Thanks, but we'll assign reports ourselves.
Author

I know.

I know.
Philipp Oeser changed title from Particle Edit: 2 Crashes to Emitter (non-hair) Particle Edit mode: 2 Crashes 2019-09-04 13:23:24 +02:00
Member

(1) already asserts earlier now:
BLI_assert failed: /blender/draw/intern/draw_cache_impl_particles.c:1519, particle_batch_cache_ensure_edit_pos_and_seg(), at '!"Hairs are not in edit mode!"'
(Just dropping this here because I have seen in reports elsewhere - hopefully this will make it easier to track down the issue...)

(1) already asserts earlier now: `BLI_assert failed: /blender/draw/intern/draw_cache_impl_particles.c:1519, particle_batch_cache_ensure_edit_pos_and_seg(), at '!"Hairs are not in edit mode!"'` (Just dropping this here because I have seen in reports elsewhere - hopefully this will make it easier to track down the issue...)
Philipp Oeser changed title from Emitter (non-hair) Particle Edit mode: 2 Crashes to Particle Edit mode for non hair particles - 2 Crashes 2021-01-18 09:58:24 +01:00
Member

Setting to Known Issue since old particles are EOL

Setting to Known Issue since old particles are EOL
Member

Removed subscriber: @nacioss

Removed subscriber: @nacioss
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:47:56 +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
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#64843
No description provided.