Bernard Lefebvre

Results 4 comments of Bernard Lefebvre

For example, this would crash: cfg = OCIO.Config.CreateRaw() cfg.getColorSpace(None)

As @divshekhar noticed it is also the case for shared pointers.

When binding a function that takes char * as parameter, automatic binding would expect a string but None is not allowed and should be excluded with none(false) if the function...

I tried this and it worked on Windows. I'll add a test in an upcoming PR. context->setStringVar("ROOTFOLDER", "c:/"); context->setSearchPath("${ROOTFOLDER}/folder1:${ROOTFOLDER}/folder2"); context->resolveFileLocation("file.test");