Fix #104902: Use forward compatible integers for boolean RNA properties #104995

Closed
Hans Goudey wants to merge 3 commits from HooglyBoogly:fix-rna-boolean-forward-compatibility into blender-v3.5-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

Write RNA properties backed by IDProperties with the IDP_INT type like
before ef68a37e5d. That keeps forward compatibility, because
earlier versions don't support the boolean type. At some point in a future
release we can remove the forward compatibility. 4.0 is a good time to
do that because forward compatibility will be broken in other ways.

This commit also adds support for reading integer arrays for boolean
property defaults, which was only half-way supported before.

Write RNA properties backed by IDProperties with the `IDP_INT` type like before ef68a37e5d55e17adf4c. That keeps forward compatibility, because earlier versions don't support the boolean type. At some point in a future release we can remove the forward compatibility. 4.0 is a good time to do that because forward compatibility will be broken in other ways. This commit also adds support for reading integer arrays for boolean property defaults, which was only half-way supported before.
Hans Goudey added this to the 3.5 milestone 2023-02-20 23:12:12 +01:00
Hans Goudey added the
Interest
Python API
Interest
Core
Module
Core
labels 2023-02-20 23:12:12 +01:00
Hans Goudey added 1 commit 2023-02-20 23:12:23 +01:00
buildbot/vexp-code-patch-coordinator Build done. Details
6e9f9b37a7
Fix #104902: Use forward compatible integers for boolean RNA properties
Write RNA properties backed by IDProperties with the `IDP_INT` type like
before ef68a37e5d. That keeps forward compatibility, because
earlier versions don't support the boolean type. At some point in a future
release we can remove the forward compatibility. 4.0 is a good time to
do that because foward compatibility will be broken in other ways.

This commit also adds support for reading integer arrays for boolean
property defaults, which was only half-way supported before.
Hans Goudey added this to the Core project 2023-02-20 23:13:59 +01:00
Hans Goudey requested review from Jacques Lucke 2023-02-20 23:14:11 +01:00
Member

@blender-bot build

@blender-bot build
Jacques Lucke approved these changes 2023-02-21 16:17:46 +01:00
Hans Goudey added 1 commit 2023-02-21 16:56:01 +01:00
Hans Goudey added 1 commit 2023-02-21 17:39:43 +01:00
Author
Member

I manually merged this because the PR is stuck in the "conflict checking" state:

Merge conflict checking is in progress. Try again in few moments.

I manually merged this because the PR is stuck in the "conflict checking" state: > Merge conflict checking is in progress. Try again in few moments.
Hans Goudey closed this pull request 2023-02-21 18:45:50 +01:00
Bastien Montagne removed this from the Core project 2023-07-03 12:48:37 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#104995
No description provided.