Hi,
I have an extended version of a material in a material plugin. In it I have a button that I want to open a bitmaptexture’s properties page, which I’ve been able to do through medit. But when I open the bitmaptexture through medit it loses the breadcrumbs of its parent and I can no long click the Go to Parent button in the compact material editor. Below is a psudo-version that is simplified and tries to open the diffuse map from the standard material to show the issue.
Is there any way for me to bring up that bitmap texture properties page on this button press, while maintaining the option for Go To Parent?
plugin material TestMaterial
name:"TestMaterial"
classID:#(0x00000000, 0x00000000)
extends:Standard version:1
(
parameters MainOptions rollout:TestOptions
(
filepath type:#string default:"\\Filepath"
)
rollout TestOptions "Options"
(
Group "Group1:"
(
button openBitmap width:75 height:50
on openBitmap pressed do
(
difMap = delegate.diffuseMap
medit.putMtlToMtlEditor difMap 1
)
)
)
)
Thank you!