Snapshot for release 2026.10.19.2 (internal 01e8aab)
This commit is contained in:
parent
44074df011
commit
7439236e1d
3 changed files with 90 additions and 1 deletions
|
|
@ -1353,7 +1353,10 @@ internal static partial class PluginManager
|
|||
surfaceUtf8[..nameLen].CopyTo(popOut);
|
||||
PopOutSurfaceSuffix.CopyTo(popOut[nameLen..]);
|
||||
popOut[^1] = 0;
|
||||
return RenderEmbedCore(pluginName, popOut, size, out want);
|
||||
// A plugin on a second cimgui copy must see the pop-out's context there too (StrayImGuiContext).
|
||||
StrayImGuiContext.Scope stray = StrayImGuiContext.Enter(current);
|
||||
try { return RenderEmbedCore(pluginName, popOut, size, out want); }
|
||||
finally { StrayImGuiContext.Restore(stray); }
|
||||
}
|
||||
return RenderEmbedCore(pluginName, surfaceUtf8, size, out want);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue