Cleanup: use bool for poll functions

This commit is contained in:
2018-07-02 11:47:00 +02:00
parent bfbfb1c47e
commit b88e51dd55
187 changed files with 600 additions and 595 deletions

View File

@@ -393,7 +393,7 @@ static void rna_Curve_bevelObject_set(PointerRNA *ptr, PointerRNA value)
}
}
static int rna_Curve_otherObject_poll(PointerRNA *ptr, PointerRNA value)
static bool rna_Curve_otherObject_poll(PointerRNA *ptr, PointerRNA value)
{
Curve *cu = (Curve *)ptr->id.data;
Object *ob = (Object *)value.data;