mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-02 06:40:39 +08:00
Cleaned up a pointless statement warning.
This commit is contained in:
parent
87dadc9815
commit
73ee990e45
@ -409,7 +409,7 @@ void Plater::on_model_change(bool force_autocenter) {
|
|||||||
ObjRef Plater::selected_object() {
|
ObjRef Plater::selected_object() {
|
||||||
Slic3r::Log::info(LogChannel, L"Calling selected_object()");
|
Slic3r::Log::info(LogChannel, L"Calling selected_object()");
|
||||||
auto it {this->objects.begin()};
|
auto it {this->objects.begin()};
|
||||||
for (it; it != this->objects.end(); it++)
|
for (; it != this->objects.end(); it++)
|
||||||
if (it->selected) return it;
|
if (it->selected) return it;
|
||||||
Slic3r::Log::info(LogChannel, L"No object selected.");
|
Slic3r::Log::info(LogChannel, L"No object selected.");
|
||||||
return this->objects.end();
|
return this->objects.end();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user