Material: Appearance Updates 2

Improves the use of the ShapeAppearance property for the Part workbench.

    removes DiffuseColor property
        adds Python compatibility using custom attributes
        transitions DiffuseColor to ShapeAppearance on open
    Improved UI elements for setting object appearance, and appearance per face
    Lays the foundation for future texture support
This commit is contained in:
David Carter
2024-06-01 18:26:38 -04:00
committed by Chris Hennes
parent c4d0f3ed97
commit 5feb963f9d
55 changed files with 1540 additions and 714 deletions

View File

@@ -150,6 +150,12 @@ OutputStream& OutputStream::operator<<(double d)
return *this;
}
OutputStream& OutputStream::write(const char* s, int n)
{
_out.write(s, n);
return *this;
}
InputStream::InputStream(std::istream& rin)
: _in(rin)
{}
@@ -246,6 +252,12 @@ InputStream& InputStream::operator>>(double& d)
return *this;
}
InputStream& InputStream::read(char* s, int n)
{
_in.read(s, n);
return *this;
}
// ----------------------------------------------------------------------
ByteArrayOStreambuf::ByteArrayOStreambuf(QByteArray& ba)