-
Hi community, Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
This does not provide an answer but it gives more context to your question about what might have been possible ways to do soI don't know of any preference/settings for this unfortunately. However you could set it through the Python API: from mrv2 import cmd, image
options = cmd.imageOptions()
options.alphaBlend = getattr(image.AlphaBlend, "None") # see issue: https://github.com/ggarra13/mrv2/issues/140
cmd.setImageOptions(options) The command line does allow running a You can however define a custom Python plug-in that you make available to MR2, in that file you can also run your own python code as MRV2 initializes. However I tried this code snippet above in a custom python plug-in and it'll make MRV2 fail to launch:
So unfortunately that also doesn't seem like a viable option either. For more details on the Plug-in System page in the Documentation (Help > Documentation menu entry in MRV2) or see this issue for more details. Feature requestIt might be worth for the Plugin system to expose a method that gets triggered after the UI initializes to allow custom setting customizations, etc. E.g. from mrv2 import cmd, image, plugin
class MyPlugin(plugin.Plugin):
def on_ui_initialized(self):
options = cmd.imageOptions()
options.alphaBlend = getattr(image.AlphaBlend, "None")
cmd.setImageOptions(options) or maybe called |
Beta Was this translation helpful? Give feedback.
-
Ok. I don't have a settings in the preferences or a python solution yet but I have a work-around for now. First, download the latest beta (v0.8.2) from sourceforge: https://sourceforge.net/projects/mrv2/files/beta/ Open mrv2 without any images loaded. Go to the menus and set the alpha blending to what you want (None, right?). Save the session (it is an .mrv2s file in JSON format). Now, whenever you want to start with alpha blending in None, you open the session file (from the UI) or from the command-line like: mrv2 test.mrv2s test.mov test.0001.exr ..etc.. |
Beta Was this translation helpful? Give feedback.
-
If you want, you can download the latest beta of v0.8.2 from the sourceforge site. It adds a preference section to control video levels and alpha blend in Preferences (F10)->User Interface->View Window. |
Beta Was this translation helpful? Give feedback.
Ok. I don't have a settings in the preferences or a python solution yet but I have a work-around for now. First, download the latest beta (v0.8.2) from sourceforge:
https://sourceforge.net/projects/mrv2/files/beta/
Open mrv2 without any images loaded. Go to the menus and set the alpha blending to what you want (None, right?). Save the session (it is an .mrv2s file in JSON format).
Now, whenever you want to start with alpha blending in None, you open the session file (from the UI) or from the command-line like:
mrv2 test.mrv2s test.mov test.0001.exr
..etc..