Skip to content

Commit

Permalink
Made simple export less aggressive on decimation for physmesh
Browse files Browse the repository at this point in the history
  • Loading branch information
boristsr committed Jul 21, 2023
1 parent 818ab81 commit 016fc37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion operators/operator_rig_vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion operators/operator_simple_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 016fc37

Please sign in to comment.