Python: accessing ParticleEdit.hair causes segmentation violation #21055
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#21055
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
%%%
Python: accessing ParticleEdit.hair causes segmentation violation
build 26658
Ubuntu 64 bit
Run the following code.
-------------- Python file -----------
import bpy
ts = bpy.context.tool_settings
print(ts)
pe = ts.particle_edit
print(pe)
for ext in dir(pe):
var = "pe.%s" % ext
print(var)
print(eval(var))
-------- Output ----------
[BPy_StructRNA "ToolSettings"]
[BPy_StructRNA "ParticleEdit"]
pe.BoolProperty
<built-in method BoolProperty of type object at 0x368e120>
pe.BoolVectorProperty
<built-in method BoolVectorProperty of type object at 0x368e120>
pe.CollectionProperty
<built-in method CollectionProperty of type object at 0x368e120>
pe.EnumProperty
<built-in method EnumProperty of type object at 0x368e120>
pe.FloatProperty
<built-in method FloatProperty of type object at 0x368e120>
pe.FloatVectorProperty
<built-in method FloatVectorProperty of type object at 0x368e120>
pe.IntProperty
<built-in method IntProperty of type object at 0x368e120>
pe.IntVectorProperty
<built-in method IntVectorProperty of type object at 0x368e120>
pe.PointerProperty
<built-in method PointerProperty of type object at 0x368e120>
pe.StringProperty
<built-in method StringProperty of type object at 0x368e120>
pe.doc
Properties of particle editing mode.
pe.module
bpy.types
pe.slots
()
pe.add_interpolate
False
pe.add_keys
5
pe.auto_velocity
False
pe.bl_rna
[BPy_StructRNA "Struct" -> "ParticleEdit"]
pe.brush
None
pe.draw_particles
False
pe.draw_step
0
pe.editable
False
pe.emitter_deflect
True
pe.emitter_distance
0.25
pe.fade_frames
0
pe.fade_time
False
pe.hair
Segmentation fault
%%%
Changed status to: 'Open'
%%%Could someone else try this?
Im enable to redo this crash...
no errors while using valgrind which normally will detect problems like this.%%%
%%%unable to redo the crash*, tested on 64bit ubuntu karmic.%%%
%%%was testing with a particle system where it didn't crash.
fixed in svn, thanks for the report.%%%
Changed status from 'Open' to: 'Resolved'
%%%was testing with a particle system where it didn't crash.
fixed in svn, thanks for the report.%%%