-
Notifications
You must be signed in to change notification settings - Fork 111
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
Fix framesystem config diffs #1695
Fix framesystem config diffs #1695
Conversation
|
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.
One comment, but may not be an issue currently. If it's not, then LGTM!
Orientation: c.Frame.Orientation, | ||
Geometry: c.Frame.Geometry, |
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.
Is there any chance these will ever get modified? Because they're also pointers, so you're still pointing to the structs in the original config here. If so, then a deep copy may be needed.
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.
No, except inside this very function. The only thing we do with the struct is ParseConfig
, which resolves all the pointer config objects into new structs.
No description provided.