UI: Improve image sequence detection at opening files #120185

Manually merged
Campbell Barton merged 1 commits from guishe/blender:improve-seq-detection into main 2024-04-25 05:10:22 +02:00
Contributor

Previously when opening 2 images like ['img1.png' ,'img002.png'] the sequence
detection will open this images as a single image sequence. However as seen in [0]
we can see that internally this is not supported to be as sequence.
To fix that this changes will also differenciate sequences an their digit count,
so if a group of images like ['img1.png','img2.png' ,'img002.png','img003.png']
are open now it will create 2 images sequences instead of just one.


This avoids creating a new operator that fixes opening images sequences in #117707
And will be used to handle also drag-and-drop multiple images in space node #117621


[0]

Patch applied:

Previously when opening 2 images like `['img1.png' ,'img002.png']` the sequence detection will open this images as a single image sequence. However as seen in [0] we can see that internally this is not supported to be as sequence. To fix that this changes will also differenciate sequences an their digit count, so if a group of images like `['img1.png','img2.png' ,'img002.png','img003.png']` are open now it will create 2 images sequences instead of just one. <hr> This avoids creating a new operator that fixes opening images sequences in https://projects.blender.org/blender/blender/pulls/117707 And will be used to handle also drag-and-drop multiple images in space node https://projects.blender.org/blender/blender/issues/117621 <hr> [0] <video src="/attachments/a109ff02-c4a3-49da-89c5-d4260a2ad036" title="2024-04-02 12-48-09.mp4" controls></video> Patch applied: <video src="/attachments/505d68cc-640f-40c6-ac8b-39312f3bb73a" title="2024-04-02 12-46-10.mp4" controls></video>
Guillermo Venegas added 1 commit 2024-04-02 20:55:52 +02:00
Guillermo Venegas requested review from Campbell Barton 2024-04-02 20:56:09 +02:00
Campbell Barton approved these changes 2024-04-25 04:58:38 +02:00
Campbell Barton manually merged commit 5c2d412a29 into main 2024-04-25 05:10:22 +02:00
Guillermo Venegas deleted branch improve-seq-detection 2024-04-25 19:00:16 +02:00
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#120185
No description provided.