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/blenkernel/intern/layer.c | |
parent | e51bf11b15cb2c26b2bd33c377e1eb74fa8bde38 (diff) |
Remove ViewLayer settings - cleanup 2/2
Diffstat (limited to 'source/blender/blenkernel/intern/layer.c')
-rw-r--r-- | source/blender/blenkernel/intern/layer.c | 28 |
1 files changed, 0 insertions, 28 deletions
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 */ |