Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Nuke: fixing render creator for no selection format failing #1741

Merged
merged 2 commits into from
Jun 23, 2021

Conversation

jakubjezek001
Copy link
Member

Description

When use selection was ticked off the creator was failing as we could not retrieve format width and height from selected nodes.

Solution

Getting width and height was added to tray and if fails it will get format from root actual format

Testing notes

  1. open nuke and in workfile create version (if you are in untitled script)
  2. open Creator and chose Create Render Write
  3. tick off use selected
  4. hit create and write node should be created without troubles.
  5. Look inside of the created node (ctrl+enter) and look into properties of Crop node
  6. width and height should be the same as it is set on script's actual format (with mouse over node graph window hit s and look down to format)

@jakubjezek001 jakubjezek001 self-assigned this Jun 22, 2021
@jakubjezek001 jakubjezek001 requested a review from 64qam June 22, 2021 13:26
@jakubjezek001 jakubjezek001 added type: bug Something isn't working HIGH host: Nuke labels Jun 22, 2021
@64qam
Copy link
Member

64qam commented Jun 22, 2021

When I create the write node with unselected use_selected it creates a render node which is no connected to the previous. Is this correct behavior?
image

@jakubjezek001
Copy link
Member Author

When I create the write node with unselected use_selected it creates a render node which is no connected to the previous. Is this correct behavior?
image

yes that is expected behaviour. Is `use_select is not ticked of it is ignoring what ever is selected and therefore it is not connecting to it. So this works perfect ;)

@jakubjezek001 jakubjezek001 merged commit 6764aaa into develop Jun 23, 2021
@jakubjezek001 jakubjezek001 deleted the bugfix/nuke-create-write-no-selection branch June 23, 2021 11:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Nuke type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants