Fixed: Latest 3dsmax SDK versions are using p_end instead of end

This commit is contained in:
kervala 2016-12-04 17:25:27 +01:00
parent 12aa9f54e7
commit 8f8578c57b
2 changed files with 14 additions and 14 deletions

View file

@ -44,8 +44,8 @@ static ParamBlockDesc2 po2rpo_param_blk ( po2rpo_params, _T("params"), 0, &PO2R
p_default, 0.1f, p_default, 0.1f,
p_range, 0.0f,1000.0f, p_range, 0.0f,1000.0f,
p_ui, TYPE_SPINNER, EDITTYPE_FLOAT, IDC_EDIT, IDC_SPIN, 0.01f, p_ui, TYPE_SPINNER, EDITTYPE_FLOAT, IDC_EDIT, IDC_SPIN, 0.01f,
end, p_end,
end p_end
); );
IObjParam *PO2RPO::ip = NULL; IObjParam *PO2RPO::ip = NULL;

View file

@ -136,36 +136,36 @@ static ParamBlockDesc2 RGBAdd_param_blk ( RGBAdd_params, _T("parameters"), 0, &
RGBAdd_color1, _T("color1"), TYPE_RGBA, P_ANIMATABLE, IDS_DS_COLOR1, RGBAdd_color1, _T("color1"), TYPE_RGBA, P_ANIMATABLE, IDS_DS_COLOR1,
p_default, Color(0,0,0), p_default, Color(0,0,0),
p_ui, TYPE_COLORSWATCH, IDC_MULT_COL1, p_ui, TYPE_COLORSWATCH, IDC_MULT_COL1,
end, p_end,
RGBAdd_color2, _T("color2"), TYPE_RGBA, P_ANIMATABLE, IDS_DS_COLOR2, RGBAdd_color2, _T("color2"), TYPE_RGBA, P_ANIMATABLE, IDS_DS_COLOR2,
p_default, Color(0.5,0.5,0.5), p_default, Color(0.5,0.5,0.5),
p_ui, TYPE_COLORSWATCH, IDC_MULT_COL2, p_ui, TYPE_COLORSWATCH, IDC_MULT_COL2,
end, p_end,
RGBAdd_map1, _T("map1"), TYPE_TEXMAP, P_OWNERS_REF, IDS_JW_MAP1, RGBAdd_map1, _T("map1"), TYPE_TEXMAP, P_OWNERS_REF, IDS_JW_MAP1,
p_refno, 1, p_refno, 1,
p_subtexno, 0, p_subtexno, 0,
p_ui, TYPE_TEXMAPBUTTON, IDC_MULT_TEX1, p_ui, TYPE_TEXMAPBUTTON, IDC_MULT_TEX1,
end, p_end,
RGBAdd_map2, _T("map2"), TYPE_TEXMAP, P_OWNERS_REF, IDS_JW_MAP2, RGBAdd_map2, _T("map2"), TYPE_TEXMAP, P_OWNERS_REF, IDS_JW_MAP2,
p_refno, 2, p_refno, 2,
p_subtexno, 1, p_subtexno, 1,
p_ui, TYPE_TEXMAPBUTTON, IDC_MULT_TEX2, p_ui, TYPE_TEXMAPBUTTON, IDC_MULT_TEX2,
end, p_end,
RGBAdd_map1_on, _T("map1Enabled"), TYPE_BOOL, 0, IDS_JW_MAP1ENABLE, RGBAdd_map1_on, _T("map1Enabled"), TYPE_BOOL, 0, IDS_JW_MAP1ENABLE,
p_default, TRUE, p_default, TRUE,
p_ui, TYPE_SINGLECHEKBOX, IDC_MAPON1, p_ui, TYPE_SINGLECHEKBOX, IDC_MAPON1,
end, p_end,
RGBAdd_map2_on, _T("map2Enabled"), TYPE_BOOL, 0, IDS_JW_MAP2ENABLE, RGBAdd_map2_on, _T("map2Enabled"), TYPE_BOOL, 0, IDS_JW_MAP2ENABLE,
p_default, TRUE, p_default, TRUE,
p_ui, TYPE_SINGLECHEKBOX, IDC_MAPON2, p_ui, TYPE_SINGLECHEKBOX, IDC_MAPON2,
end, p_end,
RGBAdd_type, _T("alphaFrom"), TYPE_INT, 0, IDS_PW_ALPHAFROM, RGBAdd_type, _T("alphaFrom"), TYPE_INT, 0, IDS_PW_ALPHAFROM,
p_default, 2, p_default, 2,
p_range, 0, 2, p_range, 0, 2,
p_ui, TYPE_RADIO, 3, IDC_MULT_ALPHA1, IDC_MULT_ALPHA2, IDC_MULT_ALPHA3, p_ui, TYPE_RADIO, 3, IDC_MULT_ALPHA1, IDC_MULT_ALPHA2, IDC_MULT_ALPHA3,
end, p_end,
end p_end
); );