fix: Make shot builder more scriptable #292
No reviewers
Labels
No Label
Kind
Breaking
Kind
Bug
Kind: Community
Kind
Documentation
Kind
Easy
Kind
Enhancement
Kind
Feature
Kind
Proposal
Kind
Security
Kind
Studio Request
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/blender-studio-tools#292
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch ":make-shot-builder-scriptable"
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?
When executing the
KITSU_OT_build_new_shot
operator programmatically from a Python script, it's currently not possible to setactive_project
, which creates errors later in theexecute
method resulting in the scene only getting partially built. Not sure if there is an important reason why the global var was used directly for the project instead of using the cache to be consistent with how the other props are accessed in theexecute
method (e.g., shot, sequence), but this change doesn't seem to introduce any regressions from my tests. With this fix in place, a script like the following works:076f4243e5
to9b8e2915ce
9b8e2915ce
to6818b65185
fix: Use cache instead of globar var to make shot builder more scriptableto fix: Make shot builder more scriptableThanks for the contribution