File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -466,6 +466,9 @@ void IgnRenderer::Initialize()
466
466
467
467
std::map<std::string, std::string> params;
468
468
params[" useCurrentGLContext" ] = " 1" ;
469
+ params[" winID" ] = std::to_string (
470
+ ignition::gui::App ()->findChild <ignition::gui::MainWindow *>()->
471
+ QuickWindow ()->winId ());
469
472
auto engine = rendering::engine (this ->engineName , params);
470
473
if (!engine)
471
474
{
Original file line number Diff line number Diff line change @@ -1116,6 +1116,10 @@ void IgnRenderer::Initialize()
1116
1116
1117
1117
std::map<std::string, std::string> params;
1118
1118
params[" useCurrentGLContext" ] = " 1" ;
1119
+ params[" winID" ] = std::to_string (
1120
+ ignition::gui::App ()->findChild <ignition::gui::MainWindow *>()->
1121
+ QuickWindow ()->winId ());
1122
+
1119
1123
auto engine = rendering::engine (this ->engineName , params);
1120
1124
if (!engine)
1121
1125
{
You can’t perform that action at this time.
0 commit comments