-
Notifications
You must be signed in to change notification settings - Fork 4
Adding updates on Feedback for Fixtures #93
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
Conversation
|
Hi @AndriiVoitenko, |
|
@adragnevVW I can not test it, because I am getting endless loop in GdtfFixture::GetFileNodesCount. Have you forget to check VCOM_FAILED on node->GetNextSiblingNode? |
|
Hi @AndriiVoitenko, |
|
sure, try to load with one |
|
@AndriiVoitenko I tried to download the file but it redirects me again to the issue |
|
@AndriiVoitenko I achieved to upload the file you sent successfully into Vectorworks, but I got your point and changed it. Thank you, so much for testing it! |
|
Hi @adragnevVW can you compare CGdtfFixtureImpl::SetAbortCallback and CGdtfFixtureImpl::SetFeedbackCallback I have several questions about it:
fTotalCompletedNodes from FixtureFeedback incremented only in GdtfFixture::OnReadFromNode after reading each child node of GDTF Fixture. You know that amount of Nodes in GDTF Fixture is defined over specification and actually does not changes? In other words GdtfFixture::GetFileNodesCount returns always the same count and could be replaced with constant. And as I told you, I am ok with sending feedback only about reading nodes from GDTF Fixture, but CheckAbort should be called also in other places, at least in reading DMX channels, DMX logical channels and channel functions. Those are usually the biggest part of GDTF file. In example file from issue, exactly reading of those parts takes whole time and abort call back called before reading DMX mode and after reading DMX mode, brings no benefits. |
|
Hi @AndriiVoitenko, |
|
Thanks @adragnevVW . I have another place for CheckAbort: Resolve functions. Currently even if you aborting reading from node, GdtfFixture::ResolveAllReferences will be still called and some of Resolve functions take some time. Please add check abort also into Resolve functions explicitly into GdtfFixture::ResolveDMXModeMasters |
|
@AndriiVoitenko It's added, thank you too! |
|
I mean all resolve function and not only ResolveDMXModeMasters. ResolveDmxModeRefs, ResolveAttribRefs, CheckForMissingModeMasters also have loops in and would also take some amount of time. |
|
Hi @AndriiVoitenko, |
AndriiVoitenko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you @adragnevVW



Changing the way of how to call Feedback
Moved to IGDTFFixture