Change duplicate sound strip path change original stip path too #47109

Closed
opened 2016-01-02 13:51:05 +01:00 by Mentat · 7 comments

System Information
Archlinux

Blender Version
Broken: 2.76b f337fea
No addon enable

Short description of error

When you duplicate a sound strip and change the path/file it change all occurences of the strip.
Note: work weel with a video strip.

Exact steps for others to reproduce the error

  • open new file / scene
  • Change to video editing
  • add a sound strip
  • select a sound file 1
  • duplicate strip 1 to strip 2 (note the strip name and path in the sequencer are same)
  • select only the duplicated strip 2
  • change is path/file (SoundSequence.filepath) to a sound file 2
  • All the strip filepath are changing in the sequencer
    • If you play the sequence, you have the same sound
    • if you look at the name in the sequencer, there are the same
    • if you look at Properties file path of the strip 1 they are differents and respect the change.
  • If you cut the strip in a lot of other strips, and change the file path of one, all others change too.

Thanks for reading.

duplicate-sound.png

**System Information** Archlinux **Blender Version** Broken: 2.76b f337fea No addon enable **Short description of error** When you duplicate a sound strip and change the path/file it change all occurences of the strip. Note: work weel with a video strip. **Exact steps for others to reproduce the error** - open new file / scene - Change to video editing - add a sound strip - select a sound file 1 - duplicate strip 1 to strip 2 (note the strip name and path in the sequencer are same) - select only the duplicated strip 2 - change is path/file (SoundSequence.filepath) to a sound file 2 - All the strip filepath are changing in the sequencer - If you play the sequence, you have the same sound - if you look at the name in the sequencer, there are the same - if you look at Properties file path of the strip 1 they are differents and respect the change. - If you cut the strip in a lot of other strips, and change the file path of one, all others change too. Thanks for reading. ![duplicate-sound.png](https://archive.blender.org/developer/F271324/duplicate-sound.png)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Mentat

Added subscriber: @Mentat
Member

Added subscriber: @Blendify

Added subscriber: @Blendify

Added subscribers: @Sergey, @Psy-Fi, @mont29

Added subscribers: @Sergey, @Psy-Fi, @mont29

Uhhhh… That’s totally broken, what happens here is that soundstrip actually reference a sound datablock, so, as with any datablock, when you copy the user, the ID itself is not copied, just referenced once more. To be clear: both copies share the same audio data.

Now, when you edit the filepath, you actually edit the audio ID file path (in addition to the strip one), so you change all strips using that same audio datablock...

Think RNA should make a copy fo the ID first, in that specific case (that, or the UI should show a real IDselect widget, not a mere file path selector...).

@Sergey, @Psy-Fi, have thoughts here?

Uhhhh… That’s totally broken, what happens here is that soundstrip actually reference a sound datablock, so, as with any datablock, when you copy the user, the ID itself is not copied, just referenced once more. To be clear: both copies share the same audio data. Now, when you edit the filepath, you actually edit the audio ID file path (in addition to the strip one), so you change all strips using that same audio datablock... Think RNA should make a copy fo the ID first, in that specific case (that, or the UI should show a real IDselect widget, not a mere file path selector...). @Sergey, @Psy-Fi, have thoughts here?

This issue was referenced by 982904fcc9

This issue was referenced by 982904fcc927beb0122b1119448716958bcf12c1

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
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
5 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#47109
No description provided.