Fix assert hiding selected particles

was trying to get a boolean with RNA_enum_get (instead of
RNA_boolean_get)

Spotted while looking into T69680, T69432
This commit is contained in:
Philipp Oeser
2019-09-10 11:30:54 +02:00
parent 3e81c1c1d5
commit bf6e05562c

View File

@@ -2354,7 +2354,7 @@ static int hide_exec(bContext *C, wmOperator *op)
POINT_P;
KEY_K;
if (RNA_enum_get(op->ptr, "unselected")) {
if (RNA_boolean_get(op->ptr, "unselected")) {
LOOP_UNSELECTED_POINTS
{
point->flag |= PEP_HIDE;