Once this code is in the plugin, probably needs it.
Is not that?
This plugin for three images, vti, openpli and blackhole.
They have different default components of course.....
Yes, but among the 3 options, the only difference I can see is the list of converters and renderers.
The rest of the code (from try: to the next elif), is exactly the same one.
So it is the same doing that:
if config.plugins.componentsfromskin.imagemode.value == '1': defconv = [List of Converters number 1.........] defren = [List of Renderers number 1......] elif config.plugins.componentsfromskin.imagemode.value == '2': defconv = [List of Converters .number 2........] defren = [List of Renderers number 2......] elif config.plugins.componentsfromskin.imagemode.value == '3': defconv = [List of Converters number 3.........] defren = [List of Renderers number 3......] try: c = parse("/tmp/skin.xml") (.....rest of the CODE ....) self.session.open(Result, my)
Edited by jpuigs, 26 October 2014 - 21:03.