Move Anim_Setup module into Blender_Kitsu #5

Merged
Nick Alberelli merged 27 commits from :feature/merge_anim_setup_into_blender_kitsu into master 2023-04-05 17:38:41 +02:00

27 Commits

Author SHA1 Message Date
TinyNick
6a26d54e84 [Blender_Kitsu] Remove old Anim_Setup Module 2023-04-04 14:24:22 -04:00
TinyNick
4a5cd67003 Merge Master into Blender_Kitsu:
commit f85db92325
Author: Nick Alberelli <tinynick@noreply.localhost>
Date:   Tue Apr 4 16:43:32 2023 +0200

    Move Shot Builder into Blender Kitsu

    Closes: TinyNick/blender-studio-tools#2

    The goal of this merge is to re-use to 'Blender Kitsu' addon's gazu based login/api functions in the 'shot builder' addon.

    **What's Changed**
     - Move Shot_builder files to Blender Kitsu Addon
     - Remove Legacy Shot_builder preferences
     - Move Shot_builder properties into Blender Kitsu
     - Use Gazu within shot_builder's kitsu connector
     - Restore Shot Builder Documentation

    Co-authored-by: TinyNick <nick@blender.org>
    Reviewed-on: #3

commit cbfc016ea3
Author: Demeter Dzadik <demeter@blender.org>
Date:   Tue Apr 4 15:37:42 2023 +0200

    AP: reset_armature_pose() now resets booleans

commit 4568ed7f35
Author: Demeter Dzadik <demeter@blender.org>
Date:   Tue Apr 4 15:36:41 2023 +0200

    AssetPipeline: Nudge GeoNode modifiers

    This is necessary because without it, sometimes GeoNode modifier
    inputs just disappear...
2023-04-04 14:18:23 -04:00
TinyNick
f17de25a56 [Blender_Kitsu] Allow user to offset editorial reference
- Create Editorial Export Offset property
 - Use property when placing VSE reference
 - Expose Property in UI
2023-04-04 13:46:00 -04:00
TinyNick
3249cc86d1 [Blender_Kitsu] Editorial, remove no-op code 2023-04-04 13:16:10 -04:00
TinyNick
26c89e3ef8 [Blender_Kitsu] Clean Whitespace in anim_setup module 2023-04-04 13:15:53 -04:00
TinyNick
6e32f66e8b [Blender Kitsu] Fix File Save durign Shot_build 2023-04-04 13:13:19 -04:00
TinyNick
b23172c9c2 [Blender_Kistsu] shot_builder allow user to supply commands to execute
- create text box that user can supply commands into incase there is customization for the production to be done
2023-04-03 16:39:07 -04:00
TinyNick
6fe881e3a6 [Blender_Kitsu] Improve file_Save feedback for shot_builder
- Add option to skip save
 - Add feedback if file already exists error
 - Move logic back to save_fily.py and make it callable from other functions
2023-04-03 15:33:07 -04:00
TinyNick
2e58de49c2 [Blender_Kitsu] Shot Builder, save only at end of operation
- don't save in the middle of the function call
- extract save logic and move to main operator
- build gazu context manually without relying on file path context
- use gazu.shot in editorial standalone operator
- reorganize main operator
2023-04-03 15:26:05 -04:00
TinyNick
1175584c49 [Blender_Kitsu] Improve Shot_Builder op and add success message 2023-04-03 13:53:55 -04:00
TinyNick
2376381b28 [Blender_Kitsu] anim_setup improve error messages 2023-04-03 13:46:33 -04:00
TinyNick
44cb913195 [Blender_Kitsu] Editorial: improve error messages
- move report outside of core function
- return none if no shot is found but server is connected
2023-04-03 13:29:20 -04:00
TinyNick
f1f815a648 [Blender_Kitsu] create editorial sub-module
- move functions related to importing references into editorial module from the anim_setup module
- nest editorial under shot_builder module
2023-04-03 13:24:42 -04:00
TinyNick
6829a61ea4 [Blender_Kitsu] move sequence strip, restore logic
- restore original formula to offset sequence strip
- restore original variables to offset sequence strip
2023-04-03 12:30:55 -04:00
TinyNick
eaafcb5644 [Blender Kitsu] Fix 'add vse area' by making operator modal
- main shot_builder function to modal
2023-04-03 12:16:26 -04:00
TinyNick
8bc00a44b2 [Blender Kitsu] add VSE area to animation workspace WIP
- Add animation_workspace_vse_area_add() function
- Comment out function call in operator
- Add TODO to fix UI dependant call
2023-04-03 10:00:47 -04:00
TinyNick
3b7e20091e [Blender_Kitsu] Nest anim_setup in Shot_builder
- Move anim_setup module to shot_builder
 - Refactor anim_setup functions into core functions that are called by operators, to easily re-use functions in shot_builder
 - Warn user before execution if editorial export directory is invalid (don't used prop update) use @property decorator instead
 - Centralize logic to check if path is valid in anim_setup module
 - remove duplicate code
 - replace bpy.ops.anim_setup with new function calls in shot_builder
 - use frame offset in editorial_export_get_latest
 - only report if workspace was deleted once in `ANIM_SETUP_OT_setup_workspaces`
2023-04-02 19:00:00 -04:00
TinyNick
6fc39c1a5f [Blender_Kitsu] Expose Armature naming convention in addon prefs
- expose armature prefix as string in addon pref
 - expose action prefix as string in addon pref
 - give both detailed descriptions
 - use above string props in shot_builder; intilize armatures
2023-04-02 18:25:08 -04:00
TinyNick
d5746a6316 [Blender Kitsu] Expose frame offset in addon prefs
- Clear "TODO EXPOSE INT IN ADDON PREFERENCES"
 - Move shot_builder addon prefs above misc
 - Expose Start Frame Offset in addon pref
 - Nest Start Frame under 'show advanced'
 - Set frame range via ''shot_builder_frame_offset"
2023-04-02 03:59:29 -04:00
TinyNick
b46156f636 [Blender_Kitsu] Load Editoral Export Path Safely
- add edit_export_file_pattern to prefs
 - expose file pattern in addon preferences
 - check is_editorial_dir_valid() with function to prefs
 - Cancel shot_builder if edit_export_dir or edit_export_file_pattern is invalid
2023-04-02 02:26:24 -04:00
TinyNick
ffff5b5ad7 [Blender Kitsu] Set Frame Range during Shot Build 2023-04-01 16:50:52 -04:00
TinyNick
c996cf3a20 [Blender_Kitsu] Set Actions on Armatures
- Find all Armature Objects
- Set Action name to match blender-studio convention
- Set action to fake user
2023-04-01 16:48:34 -04:00
TinyNick
a5fed16d82 [Blender_Kitsu] Update 'edit_export_dir' Property
- rename to 'Editorial Export Directory'
 - add description with hint to current editorial export path
2023-03-31 19:17:46 -04:00
TinyNick
50819b1535 [Blender_Kitsu] Import video from editorial folder
- Adds storyboard ref from editorial inside scene
- Re-use logic from anim_setup
- import video from editorial folder during shot_build
2023-03-31 18:31:55 -04:00
TinyNick
853bf6d303 [Blender_Kits] Use Anim_Setup 'Setup Workspaces'
- add operator file
- add registration to __init__.py
2023-03-31 18:17:07 -04:00
TinyNick
b2aeefcc50 Merge branch 'feature/merge_shot_builder_into_blender_kitsu' into develop 2023-03-31 10:17:54 -04:00
TinyNick
4e2040505e Intial Commit
- Move Shot_builder into Blender_Kitsu
 - Changes from older branch
2023-03-24 12:19:11 -04:00