We should avoid casting from an int to a flag. In this case it is probably fine, but if the OB_MODE_SCULPT was too high it can overflow the bool. (also adding explicit parenthesis to a flag check)
We should avoid casting from an int to a flag. In this case it is probably fine, but if the OB_MODE_SCULPT was too high it can overflow the bool. (also adding explicit parenthesis to a flag check)