* Open create placeholder window as regular window instead of modal dialog
* Allow to create even as root node without a parent selection
* Cosmetics: typo
* Keep create dialog open after create so user can directly create another with similar settings
* Match functionality in Nuke to the one in Maya
---------
Co-authored-by: Roy Nieterau <roy@colorbleed.nl>
* add width, height and fps setup
* add corresponding ui tweaks
* update docstring
* remove unnecessary fallbacks
* remove print
* hound
* remove whitespace
* revert operations change
* wip commit project update with new data
* formatting
* update the project data correctly
* Update openpype/tools/project_manager/project_manager/widgets.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* show default settings, use spinbox to validate values
add pixel aspec, frame start, frame end
* formatting
* get default anatomy settings properly
* check if singlestep is set
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* not used
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* mindless code copying is evil, removed unnecesary parts
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Update openpype/tools/project_manager/project_manager/widgets.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Update openpype/tools/project_manager/project_manager/widgets.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* remove unused import
* use integer or float instead of text
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* import PixmapLabel from 'utils'
* fix spinbox field length for macos
* set aspect decimals to 2
* remove set size policy
* set field growth policy for macos
* add newline
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* modified simple creator plugin to be able handle version control
* added 'allow_version_control' to simple creators
* don't remove 'create_context' from pyblish context during publishing
* implemented validator for existing version override
* actually fill version on collected instances
* version can be again changed from standalone publisher
* added comment to collector
* make sure the version is set always to int
* removed unused import
* disable validator if is disabled
* fix filtered instances loop
* add label to matching family
* Update openpype/tools/creator/model.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Whenever a person is creating a subset to publish, the "creator" widget
resets (where you choose the variant, product, etc.) so if the person
is publishing several images of the a variant which is not the default
one, they have to keep selecting the correct one after every "create".
This commit resets the original variant upon successful creation of a
subset for publishing.
* make sure the message type is set and unset correctly
* Update dummy data in readme
* remove debug message from main thread callbacks
* removed unused import
* cleanup code in muster addon
* simplified 'get_publish_instance_label' function
* even better json file handling
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
---------
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
* implemented helper function to get instance label
* use 'get_publish_instance_label' in some of existing plugins
* use 'get_publish_instance_label' in publisher controller
* Clear message label on publish so that on "continue" it does not persist the "Hit play to continue" message
* Clear main label on reset since the label isn't visible anyway
* Remove unnecessary comment
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* renamed 'validations_widget.py' to 'report_page.py'
* Implemented base logic and widgets for logs
* make one report page
* added missing imports
* added missing constants
* move and rename 'VerticallScrollArea' to 'VerticalScrollArea'
* Validation erro item have id
* use 'ReportPageWidget' in window
* change 'bg-button-hover' key to 'bg-buttons-hover' in style colors
* move publish actions widgets
* Refactored how validation error title is showed
* remove item id from validation error item but add id to group items
* remove margins from actions widget
* shrink publish frame on finished publishing
* fix dash line draw
* add missing styles
* fix dash line in thumbnail widget
* added crash widget and changed layout a little
* added infor overlay message
* export and copy report happens in main window
* fix docstrings
* added per plugin filtering for validation errors
* added implementation of 'FlowLayout'
* actions buttons are in flow layout
* fix actions order
* implemented expanding text edit widget
* expand button has some signals and properties
* description and details are separated widgets
* fix typo
* added constans to '__all__'
* parse icon def is a function
* change layout of widgets
* fix log filtering
* added state icon to instances
* fix pyside6 issues
* implemented 'ClassicExpandBtnLabel' with arrow images
* modified details separator
* added some spacing to layouts
* fix syle of description inputs and progress color
* removed unused import
* add 'is_validation_error' to errored result
* validation error has different icon in logs view
* added plugin name to ValueError if happens
* spacer before detail inputs moved out of detals widget
* fix actions visible in craash report
* ignore pyblish base classes
* filter base plugins in discovery
* use 'is' comparison instead of '__eq__'
* fix action error handling
* Fix handling of 'None' values in comparison
* formatting fix
* Report instance card have same margins as in create mode
* publish instances are grouped by family
* log messages are rstripped
* border hover has color without alpha
* changed border radius to 0.2em
* removed border from scroll area
* variant hint button has 0.5em width
* inputs in attribute definitions have smaller padding
* label is shown only to value inputs and added tooltips
* change spacing for attribute befinitions
* align labels to right
* implemented 'ComboBox' which ignores wheel events and has styled delegate
* PixmalLabel has minimum sizeHint
* cards are smaller
* renamed 'Options' to 'Context'
* implemented active state changes in card view
* set object name of main window to "PublishWindow"
* plugin don't have to pass 'title' to an error
* fix PySide6 support for custom keysequences
* check for exact match for all bindings
* added validation of exact match for save shortcut
* keep track about last context so it can be updated on context change
* don't use '_asset_name' attribute for validation of selected asset
* use current context after publisher window close
* Make sure to reset asset widget when hidden and reshown
* change '_soft_reset_enabled' only on controller reset
---------
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
* TemplatesDict can create different type of template
* anatomy templates can be formatted on their own
* return objected templates on get item
* '_rootless_path' is public classmethod 'rootless_path_from_result'
* 'AnatomyStringTemplate' expect anatomy templates
* remove key getters
* fix typo 'create_ojected_templates' -> 'create_objected_templates'
* Fix type of argument
* Fix long line
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Use format strict + code cosmetics
* Get template from the formatted data
* Update openpype/plugins/publish/integrate_legacy.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Cosmetics
* Move template obj definition for path up + rename to `path_template_obj`
* Refactor more cases from `anatomy.format` to template obj `.format_strict`
* Refactor more cases from `anatomy.format` to template obj `.format_strict`
* Refactor more cases from `anatomy.format` to template obj `.format_strict`
---------
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* added helper function to get publish plugin settings
* use new function to get plugin settings
* remove disabled settings when settings are applied
* added some comments
* added check for active state of publish plugin
* docstring changes
* limit the active state check only for 'OptionalPyblishPluginMixin'
* apply suggestions
* show plugin name if label is not available
* OP-5494 - keep Browse always enable din Workfiles
Browse might make sense even if there are no workfiles present, better in that case it makes the most sense (eg. I want to locate workfile from outside).
* use last existing directory of workfile root instead of goint to cwd
* use lstring instead of index cut
---------
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
* added save button class
* added save button to window
* workfiles is also part of context in CreateContext to be able check if context changed
* window cares about trigger of convertors
* use abstractproperty with property and abstractmethod decorators
* save changes happens using main window and can be blocked
* fix pyside compatibility
* use create context to get current context names
* Fix docstring label
* added shortcuts for save and reset
* change control string matching for macos
* added 'publish_has_started' property
* allow save only if publishing did not start yet
* rename 'get_selected_convertors' to 'get_selected_legacy_convertors' and added docstrings
* Added Saved changes
* disable instances toggle when publishing started
* Fix reset button tooltip
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
* Use QKeySequence to string for tooltips
* added example output
* use predefined method to emit card message
---------
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>