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:
authorLuca Rood <dev@lucarood.com>2018-07-23 02:36:39 +0300
committerLuca Rood <dev@lucarood.com>2018-07-23 02:36:39 +0300
commit7eb44c2f1b2c2478028d019ce64ca76c3b8386e2 (patch)
tree01569cd1299a65f1f05c412f440cbe933a61e287
parent13818c47cfb946950c8f3e97209076a9e43db4a7 (diff)
Fix incorrect poll function signature in rna_cloth.c
-rw-r--r--source/blender/makesrna/intern/rna_cloth.c2
1 files changed, 1 insertions, 1 deletions
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);
}