-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Materials: Unable to open an older material that is not part of a library #13302
Comments
Not sure if this is the same issue but I'm getting the following error on Ubuntu 22.04.4 LTS using the latest daily build
|
Not related. The command issue has a fix that should be merged soon. Not sure the libyaml error, but if it's a debug build that's also related to a fixed bug that should be available soon |
Provides compatibility loading older files outside the context of a library. Older material files were loaded by specifying a path. The new material system used the path to associated the material with a library, which may not be appropriate for legacy files. This change allows the use of materials outside of a library. Additionally, legacy files often have name/value pairs not part of the standard list of properties. Since these were unable to be mapped to a model property they were ignored. Materials now maintain a legacy map to hold properties not associated with a property model. These properties are considered transient and will not be saved. It is not intended for this feature to be used as a generic container for properties not mapped to an appropriate model. Fixes FreeCAD#13302
Provides compatibility loading older files outside the context of a library. Older material files were loaded by specifying a path. The new material system used the path to associated the material with a library, which may not be appropriate for legacy files. This change allows the use of materials outside of a library. Additionally, legacy files often have name/value pairs not part of the standard list of properties. Since these were unable to be mapped to a model property they were ignored. Materials now maintain a legacy map to hold properties not associated with a property model. These properties are considered transient and will not be saved. It is not intended for this feature to be used as a generic container for properties not mapped to an appropriate model. Fixes #13302
Is there an existing issue for this?
Problem description
Previous versions of FreeCAD could open a material by specifying its path. The current version finds a library based on the path and marks the material as not found if it's not in a library.
Full version info
Subproject(s) affected?
Other (specify in description)
Anything else?
https://forum.freecad.org/viewtopic.php?p=751729
Code of Conduct
The text was updated successfully, but these errors were encountered: