ynput / ayon-blender

Blender addon for AYON
Apache License 2.0
7 stars 2 forks source link

Frame range not set #29

Open timsergeeff opened 2 months ago

timsergeeff commented 2 months ago

Is there an existing issue for this?

Current Behavior:

When i lauch blender i dont have frame range set, i see 1- 250 frame as deafault so set framerange button dont do anything and publisher fails even if i set framerange manualy

idk if this is only with blender >4.0 (ive tryed 4.0, 4.2)

Expected Behavior:

correct frame range and succses publish

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

1) open blender 2) see framerange is not set 3) adjust framerange manualy 4) see publishing fails

Are there any labels you wish to add?

Relevant log output:

No response

Additional context:

No response

BigRoy commented 2 months ago

Is it not setting your timeline frame range?

It should be setting this: image

I guess we should maybe also "Frame" the active frame range then? However, this may turn out odd because we'd need to iterate over all Timeline panels of Blender and update them. I really feel like that might be unwanted? (Unless maybe on "New file" it makes sense to default to it?)

Anyway - see e.g this odd code to set blender timeline to match scene start and end

Btw, just pressing A in the timeline should frame it.

BigRoy commented 1 month ago

@timsergeeff can you confirm with the above whether all is working ok according to my comment? If so, did you still need anything else or should we go ahead and close this?