Page MenuHome

Make Difference default operation for boolean modifier

Authored by Mikhail Rachinskiy (alm) on Feb 12 2019, 11:55 AM.



Make Difference a default value for boolean modifier operation property.

Currently operation property of the boolean modifier is set to Intersect, which is the least frequently used boolean operation of the three available. It is also goes out of sync with Intersect (Boolean) tool, where Difference is a default operation.

Diff Detail

rB Blender

Event Timeline

Seems to make sense to me, @William Reynish (billreynish) @Sergey Sharybin (sergey) @Brecht Van Lommel (brecht) @Campbell Barton (campbellbarton) any of you guys against that change (switching default boolean modifier op to Difference).

@Mikhail Rachinskiy (alm) note that you also need to define matching default at RNA level (rna_def_modifier_boolean() in rna_modifier.c), our existing code is often not inline here, but that’s important we try to be consistent in new one at least. :)

This revision is now accepted and ready to land.Feb 12 2019, 12:37 PM

Think it's fine.
The RNA should indeed be changed though.

Defined RNA property default.

This revision was automatically updated to reflect the committed changes.