diff --git a/operators/operator_rig_vehicle.py b/operators/operator_rig_vehicle.py index 1a7da52..ee3b8e2 100644 --- a/operators/operator_rig_vehicle.py +++ b/operators/operator_rig_vehicle.py @@ -295,7 +295,7 @@ class RUSHHOURVP_OT_rig_vehicle(bpy.types.Operator): ) decimate_amount: bpy.props.FloatProperty( - name='axles_count', + name='decimate_amount', default=0.1, min=0.01, max=1.0, diff --git a/operators/operator_simple_export.py b/operators/operator_simple_export.py index 2a873f3..45aef58 100644 --- a/operators/operator_simple_export.py +++ b/operators/operator_simple_export.py @@ -22,7 +22,7 @@ def execute(self, context): #prep bpy.ops.rushhourvp.prep_vehicle_for_unreal() #rig - bpy.ops.rushhourvp.rig_vehicle() + bpy.ops.rushhourvp.rig_vehicle(decimate_proxy_mesh=True, decimate_amount=0.5) #export bpy.ops.rushhourvp.export_ue_vehicle_fbx()