Skip to content

Commit

Permalink
Fix camera ortho
Browse files Browse the repository at this point in the history
  • Loading branch information
sguionni committed Oct 3, 2024
1 parent 1cc8fd8 commit 76d06a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/renderer/src/renderer/renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ namespace VTX::Renderer
};

p_proxy.onPerspective +=
[ this, &p_proxy ]( const bool p_perspective ) { setValue( p_perspective, "Is perspective" ); };
[ this, &p_proxy ]( const bool p_perspective ) { setValue( uint( p_perspective ), "Is perspective" ); };
}

void Renderer::setProxyColorLayout( Proxy::ColorLayout & p_proxy )
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/qt/src/ui/qt/actions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ namespace VTX::UI::QT::Action
{
name = "Orthographic";
group = "CameraProjection";
tip = "Change projection mode (perspective/orthographic)";
tip = "Change camera projection mode";
icon = "sprite/camera/orthographic.png";
shortcut = "Alt+O";
trigger = []() { App::ACTION_SYSTEM().execute<App::Action::Controller::ToggleCameraProjection>(); };
Expand Down Expand Up @@ -174,7 +174,7 @@ namespace VTX::UI::QT::Action
{
name = "Perspective";
group = "CameraProjection";
tip = "Change projection mode (perspective/orthographic)";
tip = "Change camera projection mode";
icon = "sprite/camera/perspective.png";
shortcut = "Alt+P";
trigger = []() { App::ACTION_SYSTEM().execute<App::Action::Controller::ToggleCameraProjection>(); };
Expand Down

0 comments on commit 76d06a4

Please sign in to comment.