diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-05-16 23:03:25 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-05-17 00:13:28 +0300 |
commit | 83e35b682ce0082ba505c3a699514bf4a1154a62 (patch) | |
tree | fdea73c5ea817b13f11998d3d0a3d50d156c01fd /source/blender | |
parent | e51bf11b15cb2c26b2bd33c377e1eb74fa8bde38 (diff) |
Remove ViewLayer settings - cleanup 2/2
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_layer.h | 5 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/layer.c | 28 |
2 files changed, 0 insertions, 33 deletions
diff --git a/source/blender/blenkernel/BKE_layer.h b/source/blender/blenkernel/BKE_layer.h index 4bfb00e6493..00154f3e68e 100644 --- a/source/blender/blenkernel/BKE_layer.h +++ b/source/blender/blenkernel/BKE_layer.h @@ -130,11 +130,6 @@ void BKE_override_view_layer_int_add(struct ViewLayer *view_layer, int id_type, void BKE_override_layer_collection_boolean_add(struct LayerCollection *layer_collection, int id_type, const char *data_path, const bool value); -int BKE_collection_engine_property_value_get_int(struct IDProperty *props, const char *name); -float BKE_collection_engine_property_value_get_float(struct IDProperty *props, const char *name); -const float *BKE_collection_engine_property_value_get_float_array(struct IDProperty *props, const char *name); -bool BKE_collection_engine_property_value_get_bool(struct IDProperty *props, const char *name); - /* evaluation */ void BKE_layer_eval_view_layer( diff --git a/source/blender/blenkernel/intern/layer.c b/source/blender/blenkernel/intern/layer.c index c8fe2e111d4..da068802586 100644 --- a/source/blender/blenkernel/intern/layer.c +++ b/source/blender/blenkernel/intern/layer.c @@ -1381,34 +1381,6 @@ void BKE_override_layer_collection_boolean_add(struct LayerCollection *layer_col TODO_LAYER_OVERRIDE; } -/* ---------------------------------------------------------------------- */ -/* Engine Settings Properties */ - - -int BKE_collection_engine_property_value_get_int(IDProperty *props, const char *name) -{ - IDProperty *idprop = IDP_GetPropertyFromGroup(props, name); - return idprop ? IDP_Int(idprop) : 0; -} - -float BKE_collection_engine_property_value_get_float(IDProperty *props, const char *name) -{ - IDProperty *idprop = IDP_GetPropertyFromGroup(props, name); - return idprop ? IDP_Float(idprop) : 0.0f; -} - -const float *BKE_collection_engine_property_value_get_float_array(IDProperty *props, const char *name) -{ - IDProperty *idprop = IDP_GetPropertyFromGroup(props, name); - return idprop ? IDP_Array(idprop) : NULL; -} - -bool BKE_collection_engine_property_value_get_bool(IDProperty *props, const char *name) -{ - IDProperty *idprop = IDP_GetPropertyFromGroup(props, name); - return idprop ? IDP_Int(idprop) : 0; -} - /** \} */ /* Iterators */ |