Commit: 7eb44c2f1b2c2478028d019ce64ca76c3b8386e2
Author: Luca Rood
Date:   Mon Jul 23 01:36:39 2018 +0200
Branches: cloth-improvements
https://developer.blender.org/rB7eb44c2f1b2c2478028d019ce64ca76c3b8386e2

Fix incorrect poll function signature in rna_cloth.c

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

M       source/blender/makesrna/intern/rna_cloth.c

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

diff --git a/source/blender/makesrna/intern/rna_cloth.c 
b/source/blender/makesrna/intern/rna_cloth.c
index 5cf13af742f..1ab4f6812dc 100644
--- a/source/blender/makesrna/intern/rna_cloth.c
+++ b/source/blender/makesrna/intern/rna_cloth.c
@@ -448,7 +448,7 @@ static void 
rna_ClothSettings_besemesh_target_set(PointerRNA *ptr, PointerRNA va
        }
 }
 
-static int rna_ClothSettings_besemesh_target_poll(PointerRNA *ptr, PointerRNA 
value)
+static bool rna_ClothSettings_besemesh_target_poll(PointerRNA *ptr, const 
PointerRNA value)
 {
        return is_basemesh_valid((Object *)ptr->id.data, (Object *)value.data, 
NULL);
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to