File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -5519,8 +5519,14 @@ bool DzBridgeAction::combineDiffuseAndAlphaMaps(DzMaterial* Material)
55195519 // DB 2023-Oct-5: Analyze Material, combine diffuse and alpha (cutout)
55205520 bool bHasCutout = false ;
55215521 DzProperty* cutoutProp = Material->findProperty (" Cutout Opacity" );
5522+ DzProperty* opacityStrengthProp = Material->findProperty (" Opacity Strength" );
55225523 DzImageProperty* imageProp = qobject_cast<DzImageProperty*>(cutoutProp);
55235524 DzNumericProperty* numericProp = qobject_cast<DzNumericProperty*>(cutoutProp);
5525+ if (!cutoutProp && opacityStrengthProp)
5526+ {
5527+ imageProp = qobject_cast<DzImageProperty*>(opacityStrengthProp);
5528+ numericProp = qobject_cast<DzNumericProperty*>(opacityStrengthProp);
5529+ }
55245530 QString sAlphaFilename = " " ;
55255531 if (imageProp)
55265532 {
You can’t perform that action at this time.
0 commit comments