Fix: global transition bug when there are empty virtuals#1291
Fix: global transition bug when there are empty virtuals#1291bigredfrog merged 2 commits intoLedFx:mainfrom
Conversation
WalkthroughThe update in the Changes
Sequence Diagram(s)sequenceDiagram
participant V as Virtual.config
participant O as Virtual Object
participant L as Logger
V->>O: Check if "frame_transitions" exists
alt Attribute exists
V->>O: Assign frame_transitions, _config["transition_time"], _config["transition_mode"]
else Attribute missing
V->>L: Log info "virtual object does not have transitions"
end
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (12)
🔇 Additional comments (1)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
for more information, see https://pre-commit.ci
Virtuals with no segments have no transitions
If transitions is set to global then virtuals posts would fail due to attempting to access transitions of all virtuals
Only attempt setting transitions if member is present
Summary by CodeRabbit