Skip to content

Commit

Permalink
type <> member confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
bloerwald committed Dec 12, 2024
1 parent 102d1b7 commit f8d3a09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/noggit/ui/texturing_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace noggit
layout->addRow (_current_texture);
layout->setAlignment(_current_texture, Qt::AlignHCenter);

texture_picker = new ui::texture_picker(_current_texture);
_texture_picker = new ui::texture_picker(_current_texture);

auto tabs (new QTabWidget(this));

Expand Down Expand Up @@ -449,7 +449,7 @@ namespace noggit
else if (_mod_ctrl_down)
{
// Pick texture
texture_picker->getTextures(world->get_chunk_at(cursor_pos));
_texture_picker->getTextures(world->get_chunk_at(cursor_pos));
}
else if (_mod_shift_down && !!noggit::ui::selected_texture::get())
{
Expand Down
2 changes: 1 addition & 1 deletion src/noggit/ui/texturing_tool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ namespace noggit
}

current_texture* _current_texture;
texture_picker* texture_picker;
texture_picker* _texture_picker;

texture_swapper* const texture_swap_tool() { return _texture_switcher; }

Expand Down

0 comments on commit f8d3a09

Please sign in to comment.