change python scripts so modules which register with blender have a register() function rather then making import automatically run the register functions (generally considered bad practice by python people)
This commit is contained in:
@@ -210,3 +210,10 @@ def basic_force_field_falloff_ui(self, context, field):
|
||||
sub = col.column()
|
||||
sub.active = field.use_max_distance
|
||||
sub.prop(field, "maximum_distance", text="Distance")
|
||||
|
||||
|
||||
def register():
|
||||
pass
|
||||
|
||||
def unregister():
|
||||
pass
|
||||
|
Reference in New Issue
Block a user