|
Blender
V2.93
|
#include <stdlib.h>#include <string.h>#include "MEM_guardedalloc.h"#include "DNA_mesh_types.h"#include "DNA_meshdata_types.h"#include "DNA_modifier_types.h"#include "DNA_scene_types.h"#include "BLI_listbase.h"#include "BLI_math.h"#include "BLI_string.h"#include "BLI_utildefines.h"#include "BKE_bvhutils.h"#include "BKE_context.h"#include "BKE_global.h"#include "BKE_lib_id.h"#include "BKE_main.h"#include "BKE_mesh.h"#include "BKE_mesh_runtime.h"#include "BKE_modifier.h"#include "BKE_object.h"#include "BKE_particle.h"#include "BKE_pointcache.h"#include "BKE_report.h"#include "DEG_depsgraph.h"#include "DEG_depsgraph_build.h"#include "DEG_depsgraph_query.h"#include "RNA_access.h"#include "RNA_define.h"#include "WM_api.h"#include "WM_types.h"#include "ED_object.h"#include "ED_particle.h"#include "ED_screen.h"#include "UI_resources.h"#include "particle_edit_utildefines.h"#include "physics_intern.h"Go to the source code of this file.
Macros | |
| #define | PSYS_FROM_FIRST (single_psys_from ? single_psys_from : ob_from->particlesystem.first) |
| #define | PSYS_FROM_NEXT(cur) (single_psys_from ? NULL : (cur)->next) |
Typedefs | |
| typedef enum eCopyParticlesSpace | eCopyParticlesSpace |
Enumerations | |
| enum | eCopyParticlesSpace { PAR_COPY_SPACE_OBJECT = 0 , PAR_COPY_SPACE_WORLD = 1 } |
Variables | |
| static float | I [4][4] |
| #define PSYS_FROM_FIRST (single_psys_from ? single_psys_from : ob_from->particlesystem.first) |
| typedef enum eCopyParticlesSpace eCopyParticlesSpace |
| enum eCopyParticlesSpace |
| Enumerator | |
|---|---|
| PAR_COPY_SPACE_OBJECT | |
| PAR_COPY_SPACE_WORLD | |
Definition at line 1000 of file particle_object.c.
|
static |
Definition at line 921 of file particle_object.c.
References depsgraph, ParticleSystem::edit, ParticleSystem::flag, Object::obmat, PSYS_GLOBAL_HAIR, remap_hair_emitter(), and scene.
Referenced by connect_hair_exec().
|
static |
Definition at line 947 of file particle_object.c.
References all(), BKE_report(), C, connect_hair(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_scene(), DEG_id_tag_update(), depsgraph, ED_object_context(), ListBase::first, Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_PARTICLE, ParticleSystem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::particlesystem, psys_get_current(), wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_WARNING, scene, and WM_event_add_notifier().
Referenced by PARTICLE_OT_connect_hair().
|
static |
Definition at line 471 of file particle_object.c.
References BLI_addhead(), C, CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), ListBase::first, ParticleDupliWeight::flag, ParticleSettings::id, ID_RECALC_GEOMETRY, ID_RECALC_PSYS_REDO, ParticleSettings::instance_weights, MEM_dupallocN, NC_OBJECT, ND_PARTICLE, ParticleDupliWeight::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, ParticleSystem::part, PART_DUPLIW_CURRENT, ptr, RNA_ParticleSystem, and WM_event_add_notifier().
Referenced by PARTICLE_OT_dupliob_copy().
|
static |
Definition at line 1005 of file particle_object.c.
References BLI_listbase_clear(), HairKey::co, depsgraph, ParticleSystem::edit, HairKey::editflag, ParticleSystem::flag, ParticleData::hair, KEY_K, LOOP_KEYS, LOOP_POINTS, MEM_dupallocN, NULL, ParticleSystem::particles, PTCacheEdit::pathcache, PE_update_object(), PEK_USE_WCO, POINT_P, PTCacheEdit::points, PSYS_GLOBAL_HAIR, recalc_emitter_field(), recalc_lengths(), scene, HairKey::time, and update_world_cos().
Referenced by copy_particle_systems_to_object().
|
static |
Definition at line 1240 of file particle_object.c.
References BKE_reportf(), C, copy_particle_systems_to_object(), CTX_DATA_BEGIN, CTX_data_depsgraph_pointer(), CTX_DATA_END, CTX_data_pointer_get_type(), CTX_data_scene(), PointerRNA::data, DEG_graph_tag_relations_update(), depsgraph, ED_object_active_context(), NULL, OPERATOR_FINISHED, wmOperator::ptr, remove_particle_systems_from_object(), wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_ParticleSystem, RPT_ERROR, and scene.
Referenced by PARTICLE_OT_copy_particle_systems().
|
static |
Definition at line 1225 of file particle_object.c.
References BLI_listbase_is_empty(), C, ED_object_active_context(), ED_operator_object_active_local_editable(), and Object::particlesystem.
Referenced by PARTICLE_OT_copy_particle_systems().
|
static |
Definition at line 1087 of file particle_object.c.
References BKE_id_copy(), BKE_modifier_new(), BKE_modifier_unique_name(), BKE_object_copy_particlesystem(), BLI_addtail(), BLI_assert, BLI_listbase_count(), BLI_snprintf(), C, copy_particle_edit(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, eModifierType_ParticleSystem, Object::flag, float(), I, Object::id, ID_IS_LINKED, ID_RECALC_GEOMETRY, id_us_min(), MEM_freeN, MEM_mallocN, Object::modifiers, NA_EDITED, Node::name, ModifierData::name, NC_OBJECT, ND_PARTICLE, NULL, OB_MESH, Object::obmat, PAR_COPY_SPACE_OBJECT, PAR_COPY_SPACE_WORLD, Object::particlesystem, ParticleSystemModifierData::psys, psys_emitter_customdata_mask(), PSYS_FROM_FIRST, PSYS_FROM_NEXT, PSYS_GLOBAL_HAIR, psys_unique_name(), remap_hair_emitter(), scene, Object::type, and WM_main_add_notifier().
Referenced by copy_particle_systems_exec(), and duplicate_particle_systems_exec().
|
static |
Definition at line 599 of file particle_object.c.
References ParticleEditSettings::brushtype, HairKey::co, DEG_get_evaluated_object(), depsgraph, ParticleSystem::edit, ELEM, PTCacheEditKey::flag, ParticleSystem::flag, ParticleSettings::from, ParticleData::hair, PTCacheEditPoint::keys, ParticleSystemModifierData::mesh_final, mul_m4_v3(), NULL, ParticleSystem::part, PART_HAIR, ParticleSystem::particles, PE_BRUSH_ADD, PE_BRUSH_COMB, PE_BRUSH_PUFF, PE_settings(), PE_update_object(), PEK_USE_WCO, PTCacheEdit::points, psys_eval_get(), psys_free_path_cache(), psys_get_modifier(), PSYS_GLOBAL_HAIR, psys_mat_hair_to_global(), scene, and ParticleSettings::type.
Referenced by disconnect_hair_exec().
|
static |
Definition at line 653 of file particle_object.c.
References all(), C, CTX_data_ensure_evaluated_depsgraph(), CTX_data_scene(), DEG_id_tag_update(), depsgraph, disconnect_hair(), ED_object_context(), ListBase::first, Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_PARTICLE, ParticleSystem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::particlesystem, psys_get_current(), wmOperator::ptr, RNA_boolean_get(), scene, and WM_event_add_notifier().
Referenced by PARTICLE_OT_disconnect_hair().
|
static |
Definition at line 1339 of file particle_object.c.
References C, copy_particle_systems_to_object(), CTX_data_pointer_get_type(), CTX_data_scene(), PointerRNA::data, ED_object_active_context(), NULL, OPERATOR_FINISHED, PAR_COPY_SPACE_OBJECT, psys_get_current(), wmOperator::ptr, RNA_boolean_get(), RNA_ParticleSystem, and scene.
Referenced by PARTICLE_OT_duplicate_particle_system().
|
static |
Definition at line 1327 of file particle_object.c.
References BLI_listbase_is_empty(), C, ED_object_active_context(), ED_operator_object_active_local_editable(), and Object::particlesystem.
Referenced by PARTICLE_OT_duplicate_particle_system().
|
static |
Definition at line 559 of file particle_object.c.
References BLI_insertlinkafter(), BLI_remlink(), C, CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), ListBase::first, ParticleDupliWeight::flag, ParticleSettings::id, ID_RECALC_GEOMETRY, ID_RECALC_PSYS_REDO, ParticleSettings::instance_weights, NC_OBJECT, ND_PARTICLE, ParticleDupliWeight::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, ParticleSystem::part, PART_DUPLIW_CURRENT, ptr, RNA_ParticleSystem, and WM_event_add_notifier().
Referenced by PARTICLE_OT_dupliob_move_down().
|
static |
Definition at line 431 of file particle_object.c.
References BLI_insertlinkbefore(), BLI_remlink(), C, CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), ListBase::first, ParticleDupliWeight::flag, ParticleSettings::id, ID_RECALC_GEOMETRY, ID_RECALC_PSYS_REDO, ParticleSettings::instance_weights, NC_OBJECT, ND_PARTICLE, ParticleDupliWeight::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, ParticleSystem::part, PART_DUPLIW_CURRENT, ParticleDupliWeight::prev, ptr, RNA_ParticleSystem, and WM_event_add_notifier().
Referenced by PARTICLE_OT_dupliob_move_up().
|
static |
Definition at line 401 of file particle_object.c.
References C, CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), ParticleSettings::id, ID_RECALC_GEOMETRY, ID_RECALC_PSYS_REDO, NC_OBJECT, ND_PARTICLE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, ParticleSystem::part, psys_check_group_weights(), ptr, RNA_ParticleSystem, and WM_event_add_notifier().
Referenced by PARTICLE_OT_dupliob_refresh().
|
static |
Definition at line 169 of file particle_object.c.
References BKE_id_copy(), BKE_particlesettings_add(), C, CTX_data_main(), CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ParticleSettings::id, ID_RECALC_GEOMETRY, id_us_min(), if(), NC_OBJECT, ND_PARTICLE, NULL, OPERATOR_FINISHED, PointerRNA::owner_id, ParticleSystem::part, psys_check_boid_data(), ptr, RNA_ParticleSystem, and WM_event_add_notifier().
Referenced by PARTICLE_OT_new().
|
static |
Definition at line 224 of file particle_object.c.
References BLI_addtail(), C, CTX_data_main(), CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), DEG_relations_tag_update(), ListBase::first, Object::id, ID_RECALC_GEOMETRY, if(), MEM_callocN, NC_OBJECT, ND_PARTICLE, OPERATOR_CANCELLED, OPERATOR_FINISHED, PointerRNA::owner_id, PTARGET_CURRENT, ptr, RNA_ParticleSystem, ParticleSystem::targets, and WM_event_add_notifier().
Referenced by PARTICLE_OT_new_target().
| void OBJECT_OT_particle_system_add | ( | wmOperatorType * | ot | ) |
Definition at line 99 of file particle_object.c.
References wmOperatorType::description, ED_operator_object_active_local_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, particle_system_add_exec(), and wmOperatorType::poll.
Referenced by operatortypes_particle().
| void OBJECT_OT_particle_system_remove | ( | wmOperatorType * | ot | ) |
Definition at line 146 of file particle_object.c.
References wmOperatorType::description, ED_operator_object_active_local_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, particle_system_remove_exec(), and wmOperatorType::poll.
Referenced by operatortypes_particle().
| void PARTICLE_OT_connect_hair | ( | wmOperatorType * | ot | ) |
Definition at line 983 of file particle_object.c.
References connect_hair_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_particle().
| void PARTICLE_OT_copy_particle_systems | ( | wmOperatorType * | ot | ) |
Definition at line 1291 of file particle_object.c.
References copy_particle_systems_exec(), copy_particle_systems_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PAR_COPY_SPACE_OBJECT, PAR_COPY_SPACE_WORLD, wmOperatorType::poll, RNA_def_boolean(), RNA_def_enum(), space_items, and wmOperatorType::srna.
Referenced by operatortypes_particle().
| void PARTICLE_OT_disconnect_hair | ( | wmOperatorType * | ot | ) |
Definition at line 681 of file particle_object.c.
References wmOperatorType::description, disconnect_hair_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_particle().
| void PARTICLE_OT_duplicate_particle_system | ( | wmOperatorType * | ot | ) |
Definition at line 1355 of file particle_object.c.
References wmOperatorType::description, duplicate_particle_systems_exec(), duplicate_particle_systems_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by operatortypes_particle().
| void PARTICLE_OT_dupliob_copy | ( | wmOperatorType * | ot | ) |
Definition at line 498 of file particle_object.c.
References copy_particle_dupliob_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_particle().
| void PARTICLE_OT_dupliob_move_down | ( | wmOperatorType * | ot | ) |
Definition at line 585 of file particle_object.c.
References wmOperatorType::description, dupliob_move_down_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_particle().
| void PARTICLE_OT_dupliob_move_up | ( | wmOperatorType * | ot | ) |
Definition at line 457 of file particle_object.c.
References wmOperatorType::description, dupliob_move_up_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_particle().
| void PARTICLE_OT_dupliob_refresh | ( | wmOperatorType * | ot | ) |
Definition at line 417 of file particle_object.c.
References wmOperatorType::description, dupliob_refresh_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_particle().
| void PARTICLE_OT_dupliob_remove | ( | wmOperatorType * | ot | ) |
Definition at line 543 of file particle_object.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and remove_particle_dupliob_exec().
Referenced by operatortypes_particle().
| void PARTICLE_OT_new | ( | wmOperatorType * | ot | ) |
Definition at line 207 of file particle_object.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, new_particle_settings_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and psys_poll().
Referenced by operatortypes_particle().
| void PARTICLE_OT_new_target | ( | wmOperatorType * | ot | ) |
Definition at line 257 of file particle_object.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, new_particle_target_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_particle().
| void PARTICLE_OT_target_move_down | ( | wmOperatorType * | ot | ) |
Definition at line 387 of file particle_object.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and target_move_down_exec().
Referenced by operatortypes_particle().
| void PARTICLE_OT_target_move_up | ( | wmOperatorType * | ot | ) |
Definition at line 348 of file particle_object.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and target_move_up_exec().
Referenced by operatortypes_particle().
| void PARTICLE_OT_target_remove | ( | wmOperatorType * | ot | ) |
Definition at line 306 of file particle_object.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and remove_particle_target_exec().
Referenced by operatortypes_particle().
|
static |
Definition at line 81 of file particle_object.c.
References C, CTX_data_main(), CTX_data_scene(), ED_object_context(), NC_OBJECT, ND_PARTICLE, ND_POINTCACHE, NULL, object_add_particle_system(), OPERATOR_CANCELLED, OPERATOR_FINISHED, scene, and WM_event_add_notifier().
Referenced by OBJECT_OT_particle_system_add().
|
static |
Definition at line 114 of file particle_object.c.
References ViewLayer::basact, C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), ED_object_context(), Object::mode, NC_OBJECT, NC_SCENE, ND_MODE, ND_PARTICLE, ND_POINTCACHE, NS_MODE_OBJECT, NULL, OB_MODE_PARTICLE_EDIT, Base::object, object_remove_particle_system(), OPERATOR_CANCELLED, OPERATOR_FINISHED, scene, and WM_event_add_notifier().
Referenced by OBJECT_OT_particle_system_remove().
|
static |
Definition at line 163 of file particle_object.c.
References C, CTX_data_pointer_get_type(), PointerRNA::data, NULL, ptr, and RNA_ParticleSystem.
Referenced by PARTICLE_OT_new().
|
static |
Definition at line 700 of file particle_object.c.
References add_v3_v3v3(), BKE_bvhtree_from_mesh_get(), BKE_id_copy_ex(), BKE_id_free(), BKE_mesh_tessface_ensure(), BLI_bvhtree_find_nearest(), BVHTREE_FROM_EDGES, BVHTREE_FROM_FACES, BVHTreeNearest::co, MVert::co, HairKey::co, copy_m4_m4(), copy_v3_v3(), Mesh_Runtime::deformed_only, DEG_get_evaluated_object(), depsgraph, BVHTreeNearest::dist_sq, DMCACHE_ISCHILD, PTCacheEditKey::flag, ParticleData::foffset, free_bvhtree_from_mesh(), ParticleSettings::from, ParticleData::fuv, G, G_DEBUG, ParticleData::hair, Mesh::id, BVHTreeNearest::index, interp_weights_poly_v3(), invert_m4_m4(), PTCacheEditPoint::keys, LIB_ID_COPY_LOCALIZE, line_point_factor_v3(), Mesh::medge, mesh, ParticleSystemModifierData::mesh_final, ParticleSystemModifierData::mesh_original, Mesh::mface, mul_m4_m4m4(), mul_m4_v3(), mul_v3_m4v3(), Mesh::mvert, BVHTreeFromMesh::nearest_callback, NULL, ParticleData::num, ParticleData::num_dmcache, Object::obmat, ParticleSystem::part, PART_HAIR, ParticleSystem::particles, PE_update_object(), PEK_USE_WCO, PTCacheEdit::points, psys_eval_get(), psys_free_path_cache(), psys_get_modifier(), psys_mat_hair_to_object(), psys_particle_dm_face_lookup(), Mesh::runtime, scene, sub_v3_v3v3(), Mesh::totedge, Mesh::totface, Mesh::totvert, BVHTreeFromMesh::tree, ParticleSettings::type, ParticleSettings::use_modifier_stack, v, and HairKey::world_co.
Referenced by connect_hair(), and copy_particle_systems_to_object().
|
static |
Definition at line 512 of file particle_object.c.
References BLI_remlink(), C, CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), ListBase::first, ParticleDupliWeight::flag, ParticleSettings::id, ID_RECALC_GEOMETRY, ID_RECALC_PSYS_REDO, ParticleSettings::instance_weights, ListBase::last, MEM_freeN, NC_OBJECT, ND_PARTICLE, ParticleDupliWeight::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, ParticleSystem::part, PART_DUPLIW_CURRENT, ptr, RNA_ParticleSystem, and WM_event_add_notifier().
Referenced by PARTICLE_OT_dupliob_remove().
|
static |
Definition at line 1057 of file particle_object.c.
References BKE_modifier_free(), BKE_object_free_particlesystems(), BLI_remlink(), Object::data, ELEM, eModifierType_DynamicPaint, eModifierType_Fluid, eModifierType_ParticleSystem, ListBase::first, ID_IS_LINKED, Object::modifiers, ModifierData::next, OB_MESH, ModifierData::type, and Object::type.
Referenced by copy_particle_systems_exec().
|
static |
Definition at line 271 of file particle_object.c.
References BLI_remlink(), C, CTX_data_main(), CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), DEG_relations_tag_update(), ListBase::first, Object::id, ID_RECALC_GEOMETRY, if(), ListBase::last, MEM_freeN, NC_OBJECT, ND_PARTICLE, OPERATOR_CANCELLED, OPERATOR_FINISHED, PointerRNA::owner_id, PTARGET_CURRENT, ptr, RNA_ParticleSystem, ParticleSystem::targets, and WM_event_add_notifier().
Referenced by PARTICLE_OT_target_remove().
|
static |
Definition at line 362 of file particle_object.c.
References BLI_insertlinkafter(), BLI_remlink(), C, CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), ListBase::first, Object::id, ID_RECALC_GEOMETRY, if(), NC_OBJECT, ND_PARTICLE, OPERATOR_CANCELLED, OPERATOR_FINISHED, PointerRNA::owner_id, PTARGET_CURRENT, ptr, RNA_ParticleSystem, ParticleSystem::targets, and WM_event_add_notifier().
Referenced by PARTICLE_OT_target_move_down().
|
static |
Definition at line 322 of file particle_object.c.
References BLI_insertlinkbefore(), BLI_remlink(), C, CTX_data_pointer_get_type(), PointerRNA::data, DEG_id_tag_update(), ListBase::first, Object::id, ID_RECALC_GEOMETRY, if(), NC_OBJECT, ND_PARTICLE, OPERATOR_CANCELLED, OPERATOR_FINISHED, PointerRNA::owner_id, PTARGET_CURRENT, ptr, RNA_ParticleSystem, ParticleSystem::targets, and WM_event_add_notifier().
Referenced by PARTICLE_OT_target_move_up().
|
static |
Definition at line 72 of file particle_object.c.
Referenced by copy_particle_systems_to_object().