History

Merged with master

Olivier Prat committed 8 years ago

Commit f5a25572 parents 92e1fe8 0ef27941213 files · +53263 −55587Browse files

Showing the changes to interface/src/Application_render.cpp (1 of 1213 files). Show all

Unified · Split

interface/src/Application_render.cpp+2−2
@@ -55,7 +55,7 @@ void Application::paintGL() { · 54 unmodified lines
5555 // If a display plugin loses it's underlying support, it
5656 // needs to be able to signal us to not use it
5757 if (!displayPlugin->beginFrameRender(_renderFrameCount)) {
58− updateDisplayMode();
58+ QMetaObject::invokeMethod(this, "updateDisplayMode");
5959 return;
6060 }
6161 }
@@ -178,7 +178,7 @@ public: · 116 unmodified lines
178178 render::ItemID WorldBoxRenderData::_item{ render::Item::INVALID_ITEM_ID };
179179
180180 namespace render {
181− template <> const ItemKey payloadGetKey(const WorldBoxRenderData::Pointer& stuff) { return ItemKey::Builder::opaqueShape(); }
181+ template <> const ItemKey payloadGetKey(const WorldBoxRenderData::Pointer& stuff) { return ItemKey::Builder::opaqueShape().withTagBits(ItemKey::TAG_BITS_0 | ItemKey::TAG_BITS_1); }
182182 template <> const Item::Bound payloadGetBound(const WorldBoxRenderData::Pointer& stuff) { return Item::Bound(); }
183183 template <> void payloadRender(const WorldBoxRenderData::Pointer& stuff, RenderArgs* args) {
184184 if (Menu::getInstance()->isOptionChecked(MenuOption::WorldAxes)) {