Skip to content
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

BCF-API #290 add object translucency support in viewpoints #363

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

ykulbak
Copy link
Collaborator

@ykulbak ykulbak commented Jul 3, 2023

See discussion in buildingSMART/BCF-API#290

@ykulbak ykulbak added this to the Release 4.0 milestone Jul 3, 2023
@GeorgDangl GeorgDangl force-pushed the bcf-api-290-support-translucent-color branch from 77bfd48 to 8936925 Compare July 3, 2023 09:10
Comment on lines +146 to +150
<xs:element name="Exceptions" minOccurs="0">
<!-- Inverses DefaultTranslucency and TranslucencySetupHints -->
<xs:complexType>
<xs:sequence>
<xs:element name="Component" type="Component" minOccurs="0" maxOccurs="unbounded"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From @pjanck: Use minOccurs="1" in the inner list, if the Exception object is present, then it should have at least one exception.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose that this should be corrected across visinfo.xsd in a single pull request rather than fixing just for translucency.
Otherwise, we would risk leaving visinfo.xsd inconsistent.

Comment on lines +146 to +150
<xs:element name="Exceptions" minOccurs="0">
<!-- Inverses DefaultTranslucency and TranslucencySetupHints -->
<xs:complexType>
<xs:sequence>
<xs:element name="Component" type="Component" minOccurs="0" maxOccurs="unbounded"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<xs:element name="Exceptions" minOccurs="0">
<!-- Inverses DefaultTranslucency and TranslucencySetupHints -->
<xs:complexType>
<xs:sequence>
<xs:element name="Component" type="Component" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Exceptions" minOccurs="0">
<!-- Inverses DefaultTranslucency and TranslucencySetupHints -->
<xs:complexType>
<xs:sequence>
<xs:element name="Component" type="Component" minOccurs="1" maxOccurs="unbounded"/>

Remove comment when squashed.
@GeorgDangl GeorgDangl merged commit d19f22e into main Nov 28, 2023
@GeorgDangl GeorgDangl deleted the bcf-api-290-support-translucent-color branch November 28, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants