|
Blender V5.0
|
Functions | |
| static bke::CurvesGeometry | particles_to_curves (Object &object, ParticleSystem &psys) |
| static wmOperatorStatus | curves_convert_from_particle_system_exec (bContext *C, wmOperator *) |
| static bool | curves_convert_from_particle_system_poll (bContext *C) |
|
static |
Definition at line 516 of file curves_ops.cc.
References BKE_object_add(), BKE_object_apply_mat4(), C, blender::ed::object::context_active_object(), CTX_data_depsgraph_pointer(), CTX_data_main(), CTX_data_pointer_get_type(), CTX_data_scene(), CTX_data_view_layer(), curves_convert_from_particle_system_exec(), Object::data, PointerRNA::data, DEG_get_evaluated(), DEG_relations_tag_update(), depsgraph, eModifierType_ParticleSystem, Curves::geometry, LISTBASE_FOREACH, Object::modifiers, ParticleSystem::name, NC_OBJECT, ND_DRAW, OB_CURVES, OPERATOR_CANCELLED, OPERATOR_FINISHED, particles_to_curves(), ParticleSystemModifierData::psys, psys_get_current(), STREQ, and WM_main_add_notifier().
Referenced by curves_convert_from_particle_system_exec(), and blender::ed::curves::CURVES_OT_convert_from_particle_system().
|
static |
Definition at line 555 of file curves_ops.cc.
References C, blender::ed::object::context_active_object(), and curves_convert_from_particle_system_poll().
Referenced by curves_convert_from_particle_system_poll(), and blender::ed::curves::CURVES_OT_convert_from_particle_system().
|
static |
Definition at line 441 of file curves_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_assert, ParticleSystem::childcache, ParticleSettings::childtype, ParticleSettings::draw, blender::Span< T >::index_range(), blender::math::invert(), blender::threading::parallel_for(), ParticleSystem::part, PART_DRAW_PARENT, PART_HAIR, ParticleSystem::pathcache, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), ParticleSystem::totcached, ParticleSystem::totchildcache, and ParticleSettings::type.
Referenced by curves_convert_from_particle_system_exec().