mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Materials: Cleanup
This commit is contained in:
parent
cb1ee5ce55
commit
107ff6fd36
4 changed files with 6 additions and 62 deletions
|
@ -90,7 +90,6 @@ struct Materials
|
|||
|
||||
struct Bundle
|
||||
{
|
||||
fs::path source_path; // XXX: not needed?
|
||||
std::unique_ptr<PresetBundle> preset_bundle;
|
||||
VendorProfile *vendor_profile;
|
||||
const bool is_in_resources;
|
||||
|
@ -235,7 +234,7 @@ template<class T, class D> struct DataList : public T
|
|||
}
|
||||
|
||||
int find(const D &data) {
|
||||
for (int i = 0; i < this->GetCount(); i++) {
|
||||
for (unsigned i = 0; i < this->GetCount(); i++) {
|
||||
if (get_data(i) == data) { return i; }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue