Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/object_update.c
| Show All 37 Lines | |||||
| #include "BKE_armature.h" | #include "BKE_armature.h" | ||||
| #include "BKE_action.h" | #include "BKE_action.h" | ||||
| #include "BKE_constraint.h" | #include "BKE_constraint.h" | ||||
| #include "BKE_curve.h" | #include "BKE_curve.h" | ||||
| #include "BKE_DerivedMesh.h" | #include "BKE_DerivedMesh.h" | ||||
| #include "BKE_displist.h" | #include "BKE_displist.h" | ||||
| #include "BKE_editmesh.h" | #include "BKE_editmesh.h" | ||||
| #include "BKE_effect.h" | #include "BKE_effect.h" | ||||
| #include "BKE_gpencil_modifier.h" | |||||
| #include "BKE_image.h" | #include "BKE_image.h" | ||||
| #include "BKE_key.h" | #include "BKE_key.h" | ||||
| #include "BKE_layer.h" | #include "BKE_layer.h" | ||||
| #include "BKE_light.h" | #include "BKE_light.h" | ||||
| #include "BKE_lattice.h" | #include "BKE_lattice.h" | ||||
| #include "BKE_material.h" | #include "BKE_material.h" | ||||
| #include "BKE_mball.h" | #include "BKE_mball.h" | ||||
| #include "BKE_mesh.h" | #include "BKE_mesh.h" | ||||
| ▲ Show 20 Lines • Show All 156 Lines • ▼ Show 20 Lines | case OB_FONT: { | ||||
| bool for_render = (DEG_get_mode(depsgraph) == DAG_EVAL_RENDER); | bool for_render = (DEG_get_mode(depsgraph) == DAG_EVAL_RENDER); | ||||
| BKE_displist_make_curveTypes(depsgraph, scene, ob, for_render, false); | BKE_displist_make_curveTypes(depsgraph, scene, ob, for_render, false); | ||||
| break; | break; | ||||
| } | } | ||||
| case OB_LATTICE: | case OB_LATTICE: | ||||
| BKE_lattice_modifiers_calc(depsgraph, scene, ob); | BKE_lattice_modifiers_calc(depsgraph, scene, ob); | ||||
| break; | break; | ||||
| case OB_GPENCIL: | |||||
| BKE_gpencil_modifiers_calc(depsgraph, scene, ob); | |||||
| break; | |||||
| } | } | ||||
| /* particles */ | /* particles */ | ||||
| if (!(ob->mode & OB_MODE_EDIT) && ob->particlesystem.first) { | if (!(ob->mode & OB_MODE_EDIT) && ob->particlesystem.first) { | ||||
| const bool use_render_params = (DEG_get_mode(depsgraph) == DAG_EVAL_RENDER); | const bool use_render_params = (DEG_get_mode(depsgraph) == DAG_EVAL_RENDER); | ||||
| ParticleSystem *tpsys, *psys; | ParticleSystem *tpsys, *psys; | ||||
| ob->transflag &= ~OB_DUPLIPARTS; | ob->transflag &= ~OB_DUPLIPARTS; | ||||
| psys = ob->particlesystem.first; | psys = ob->particlesystem.first; | ||||
| ▲ Show 20 Lines • Show All 241 Lines • Show Last 20 Lines | |||||