State:Closed|icon_bug|icon_modo|database:public|Resolution:Not A Bug|TargetRelease:Modo15.0|BugID:469529|
Problem summary
When you add a Constant item via Python the Color option is missing.
This is due to the Constant item not having the Diffuse Color effect applied to the Constant item. When you create a Constant item via the Add Layer option in the Shader Tree this effect is applied to it by default on creation.
Customer reported version
modo.14.2v2
Customer reported platform
windows10
Steps to reproduce
1) Open Modo and go to Layout > Palettes > Scripting
2) Inside of the Scripting viewport type:
import modo
s = modo.Scene()
s.addItem("constant")
3) Go to the created Constant item inside of the Shader Tree and notice that the Color option is missing.
Expected behaviour
Creating a Constant item through Python or GUI should result in the same result.
Actual behaviour
Creating a Constant item via Python results in the Color option not being present.
Workaround
Set the Effect to Diffuse Color.
Reproduced by support
This bug has been reproduced in:
14.2v2 - Windows 10
14.2v1 - Windows 10
14.1v1 - Windows 10
14.0v1 - Windows 10
13.0v1 - Windows 10
12.2v2 - Windows 10
Earliest version tested
12.2v2 - This issue appears to be in all versions of the product.
We're sorry to hear that
Please tell us why