refactor(ibl): move ibl to core feature#1396
Conversation
WalkthroughReplaces the IBL feature's mod link constant/method with a core-feature indicator: removes the private MOD_ID and GetFeatureModLink(), and adds a public override IsCore() const returning true. No other interfaces or logic changed. (≤50 words) Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/Features/IBL.h (1)
10-10: Nit: drop the trailing semicolon after the inline definition for consistencyMost inline definitions in this class (e.g., GetName, GetShortName, GetFeatureModLink, GetShaderDefineName) omit the trailing semicolon. Consider aligning with that style.
- virtual bool IsCore() const override { return true; }; + virtual bool IsCore() const override { return true; }
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
src/Features/IBL.h(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Build plugin and addons
🔇 Additional comments (2)
src/Features/IBL.h (2)
10-10: Marking IBL as a core feature looks goodThe const-qualified override returning true is clear and aligns with the PR intent of moving IBL to a core feature.
10-10: Verify IsCore const-qualification and call-site implications — src/Features/IBL.h not foundRepository search returned no matches for src/Features/IBL.h or any IsCore declarations/call sites, so I could not verify the override binding.
Observed snippet (from PR):
virtual bool IsCore() const override { return true; };Action items:
- Confirm the base declaration (e.g. Feature / IFeature) declares: bool IsCore() const; otherwise this override will not bind.
- Review call sites and any UI/config gating that treat "core" features to ensure behavior remains correct if the signature changed.
- If the header path differs or was omitted from the PR, provide the correct file or run a repo-wide search for IsCore declarations before merging.
|
✅ A pre-release build is available for this PR: |
|
What's the intent for why it's core now? |
doodlum said so |
|
Doesn't GetFeatureModLink need to be removed then? |
yeah i forgot. removed now. |
Summary by CodeRabbit
New Features
Refactor
Chores