MCPcopy Index your code
hub / github.com/coldtype/st2 / feaprop

Function feaprop

ST2/properties.py:70–72  ·  view source on GitHub ↗
(prop, default=False)

Source from the content-addressed store, hash-verified

68
69
70def feaprop(prop, default=False):
71 prop_key = f"fea_{prop}"
72 return bpy.props.BoolProperty(name=prop, default=default, update=lambda p, c: update_type_and_copy(prop_key, p, c))
73
74def axisprop(num, default=0):
75 prop = f"fvar_axis{num}"

Callers 1

ST2PropertiesGroupClass · 0.85

Calls 1

update_type_and_copyFunction · 0.85

Tested by

no test coverage detected