Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-05-25 13:27:54 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-05-25 13:27:54 +0300
commitd8a6c1d316f3abdb778c37b60951e54f3c407f29 (patch)
tree44cf1bf38641c26f0a2183c11dfbacdb7f438efa /source/blender/blenkernel/BKE_object.h
parentba6abd83b039b20e3022e3179e199a1ae9894066 (diff)
Cleanup/simplification for BKE_modifier_get_evaluated_mesh_from_object
* Added BKE_object_get_evaluated_mesh, which can also be used outside of Modifier context. * BKE_modifier_get_evaluated_mesh_from_object is now a dummy wrapper around BKE_object_get_evaluated_mesh, we do not need anything special anymore for RENDER quality option, since this is supposed to be handled at depsgraph level... Maybe we can get rid of it at some point, but kind of like the idea of keeping it for now, sounds more consitent.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r--source/blender/blenkernel/BKE_object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h
index 7dbdac1b835..db6c7aa9c4f 100644
--- a/source/blender/blenkernel/BKE_object.h
+++ b/source/blender/blenkernel/BKE_object.h
@@ -45,6 +45,7 @@ struct View3D;
struct SoftBody;
struct MovieClip;
struct Main;
+struct Mesh;
struct RigidBodyWorld;
struct HookModifierData;
struct ModifierData;
@@ -269,6 +270,8 @@ void BKE_object_sculpt_modifiers_changed(struct Object *ob);
int BKE_object_obdata_texspace_get(struct Object *ob, short **r_texflag, float **r_loc, float **r_size, float **r_rot);
+struct Mesh *BKE_object_get_evaluated_mesh(const struct Depsgraph *depsgraph, struct Object *ob);
+
int BKE_object_insert_ptcache(struct Object *ob);
void BKE_object_delete_ptcache(struct Object *ob, int index);
struct KeyBlock *BKE_object_shapekey_insert(struct Object *ob, const char *name, const bool from_mix);