Message 1 of 10
startLocalRender on OSX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have this snipped of code in a plugin, the document is saved, doesn't matter the contents. A simple sphere at 0,0,0 shows the issue
r->progress() always returns 0 no matter how long i wait.
identical code works just fine on windows, what am i doing wrong?
is there any sort of global error/checking state i can look at it, nothing comes out on the console, normally it seems if the render can't/won't start it'll fail the startLocalRender call, but this passes.
latest version of fusion on all.
OSX 14/XCode 15 beta 6, macbook pro m2 max, i know its a beta/beta combo but i can go check it on a different machine on 13 or earlier as well but i figured i'd check if there was anything obvious i missed.
thanks!
app is initialised ok, and this is in run, the code does work on windows
// Get the active design.
Ptr<Design> design = app->activeProduct();
if (!design)
return false;
double propertyValue;
Ptr<RenderManager> renderManager_var = design->renderManager();
if (!renderManager_var)
return false;
Ptr<Rendering> rendering_var = renderManager_var->rendering();
if (!rendering_var)
return false;
// set the rendering properties
rendering_var->resolutionWidth(1000);
rendering_var->resolutionHeight(1000);
rendering_var->renderQuality(100);
auto r = rendering_var->startLocalRender();
if ( r ) {
auto propertyValue = r->progress();
}