[Bf-blender-cvs] [83e35b682ce] blender2.8: Remove ViewLayer settings - cleanup 2/2

Dalai Felinto noreply at git.blender.org
Wed May 16 23:16:22 CEST 2018


Commit: 83e35b682ce0082ba505c3a699514bf4a1154a62
Author: Dalai Felinto
Date:   Wed May 16 22:03:25 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB83e35b682ce0082ba505c3a699514bf4a1154a62

Remove ViewLayer settings - cleanup 2/2

===================================================================

M	source/blender/blenkernel/BKE_layer.h
M	source/blender/blenkernel/intern/layer.c

===================================================================

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 */



More information about the Bf-blender-cvs mailing list