Less crufty arguments for adding movie/audio strips to sequence editor from python #18025
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#18025
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Group: Unstable (example)
%%%Previously to add a movie or audio strip to the sequence editor from python, you had to do:
sequence.new((filename, directory, fullpath, type), position, track)
eg:
sequence.new(('video.avi', '/path/to', '/path/to/video.avi', 'movie'), 1, 2)
... which was a bit redundant, since if you had the full path you didn't really need the filename and the directory.
This patch simplifies this to:
sequence.new((fullpath, type), position, track)
eg:
sequence.new(('/path/to/video.avi', 'movie'), 1, 2)%%%
Changed status to: 'Open'
%%%Improved code organization, and fixing buttons crash, as per conversations with ideasman%%%
%%%Hi, trying to update the status of the patch tracker. Please respond if this patch is still viable/useful and needs review or if it can be closed.%%%
%%%Close it, I think. This was pre-bpy... no longer relevant.%%%
Changed status from 'Open' to: 'Resolved'