Skip to content
Snippets Groups Projects
Commit 7ef2e6a2 authored by sacarrow's avatar sacarrow
Browse files

Currently unsupported collision types are disabled but still visible.

parent d06ba89f
No related branches found
No related tags found
No related merge requests found
......@@ -350,6 +350,9 @@ INT_PTR ProxyParamDlgProc::DlgProc(TimeValue t,IParamMap2 *map,HWND hWnd,UINT ms
Interval valid;
so->pblock2->GetValue( PB_MATERIAL, 0, sel, valid);
mCbMaterial.select( sel );
// Disable all types not currently implemented
EnableWindow(GetDlgItem(hWnd, IDC_RDO_CAPSULE), FALSE);
EnableWindow(GetDlgItem(hWnd, IDC_RDO_PACKED_STRIPS), FALSE);
Update(t);
break;
......
......@@ -256,6 +256,7 @@ INT_PTR bhkRigidBodyModifierDlgProc::DlgProc (TimeValue t,IParamMap2 *map,HWND h
Interval valid;
mod->pblock->GetValue( PB_MATERIAL, 0, sel, valid);
mCbMaterial.select( sel );
EnableWindow(GetDlgItem(hWnd, IDC_RDO_CAPSULE), FALSE);
Update(t);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment