Skip to content

Commit

Permalink
Migrate warning
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Jun 28, 2022
1 parent 9709535 commit 837023a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/plugins/camera_tracking/CameraTracking.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <gz/common/Profiler.hh>
#include <gz/plugin/Register.hh>

// TODO(anyone) Remove these pragmas once ign-rendering and ign-msgs
// TODO(anyone) Remove these pragmas once gz-rendering and gz-msgs
// are disabling the warnings
#ifdef _MSC_VER
#pragma warning(push, 0)
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/minimal_scene/MinimalScene.cc
Original file line number Diff line number Diff line change
Expand Up @@ -631,14 +631,14 @@ void IgnRenderer::SetGraphicsAPI(const rendering::GraphicsAPI &_graphicsAPI)

if (_graphicsAPI == rendering::GraphicsAPI::OPENGL)
{
gzdbg << "Creating ign-rendering interface for OpenGL" << std::endl;
gzdbg << "Creating gz-rendering interface for OpenGL" << std::endl;
this->dataPtr->rhiParams["useCurrentGLContext"] = "1";
this->dataPtr->rhi = std::make_unique<IgnCameraTextureRhiOpenGL>();
}
#ifdef __APPLE__
else if (_graphicsAPI == rendering::GraphicsAPI::METAL)
{
gzdbg << "Creating ign-renderering interface for Metal" << std::endl;
gzdbg << "Creating gz-renderering interface for Metal" << std::endl;
this->dataPtr->rhiParams["metal"] = "1";
this->dataPtr->rhi = std::make_unique<IgnCameraTextureRhiMetal>();
}
Expand Down
6 changes: 3 additions & 3 deletions src/plugins/scene3d/Scene3D.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <gz/math/Vector2.hh>
#include <gz/math/Vector3.hh>

// TODO(louise) Remove these pragmas once ign-rendering and ign-msgs
// TODO(louise) Remove these pragmas once gz-rendering and gz-msgs
// are disabling the warnings
#ifdef _MSC_VER
#pragma warning(push, 0)
Expand Down Expand Up @@ -1575,8 +1575,8 @@ void RenderWindowItem::SetSceneTopic(const std::string &_topic)
Scene3D::Scene3D()
: Plugin(), dataPtr(new Scene3DPrivate)
{
gzwarn << "This plugin is deprecated on ign-gui v6 and will be removed on "
<< "ign-gui v7. Use MinimalScene + TransportSceneManager instead."
gzwarn << "This plugin is deprecated on gz-gui v6 and will be removed on "
<< "gz-gui v7. Use MinimalScene + TransportSceneManager instead."
<< std::endl;

qmlRegisterType<RenderWindowItem>("RenderWindow", 1, 0, "RenderWindow");
Expand Down

0 comments on commit 837023a

Please sign in to comment.