Comments (8)
I'm thinking a context-manager to automatically reset the time after each capture would be good here. No command should really mess with state, unless it's intended to.
from maya-capture.
I'm thinking a context-manager to automatically reset the time after each capture would be good here. No command should really mess with state, unless it's intended to.
That's a separate issue, since that's unrelated to the undo bug of the playblast command? Also that would mean setting the time afterwards instead of beforehand?
But yes, I totally agree. Set up the issue and I'll implement.
from maya-capture.
But wouldn't that nullify this problem? If capture
never altered the frame to begin with?
from maya-capture.
Would it still revert to frame 1 you think? :O
from maya-capture.
Would it still revert to frame 1 you think? :O
I think so, yes. But I'm thinking in the form of "undo chain". The current time is set afterwards thus gets processed first when undo'ing. Since the playblast has the issue where it resets to frame 1 on undo, the issue would then still be present.
But I'll have a look!
from maya-capture.
Yup, as I thought, the issue would still be there. :(
So setting in front and include a context manager would fix both.
But wouldn't that nullify this problem? If capture never altered the frame to begin with?
The issue with undoing is even there when you use the cmds.playblast
command solely to list the available compressions instead of actually performing a capture/playblast. It's a real bug. It doesn't actually have anything to do with altering the time.
from maya-capture.
This is fixed with BigRoy@f4a2207.
I'm thinking a context-manager to automatically reset the time after each capture would be good here. No command should really mess with state, unless it's intended to.
See #23.
from maya-capture.
Aweseome!
from maya-capture.
Related Issues (20)
- Maintain resolution results in inaccurate resolutions
- Capture will take playback range when start or end frame is set to 0
- Add renderer option HOT 3
- Default compression h264 doesn't result in h264 compressed video HOT 6
- Missing some ViewportOptions keys HOT 2
- Missing frame padding argument for capture HOT 3
- Workaround Maya error when using raw frame numbers with only start and end frame
- Behavior of `complete_filename` argument in docstring is described incorrectly HOT 2
- Ignore raw_frame_numbers when not playblasting to image format HOT 1
- Add "Pan/Zoom" state to default options for capture
- Define custom saving behavior HOT 1
- Fix py linting errors
- fix format variable HOT 2
- Capture with Maya 2018? HOT 12
- ViewPort2 option "floatingPointRTEnable" set to False for Maya 2016 Standalone HOT 2
- setup.py has maya and PySide(2) as dependencies HOT 2
- support for backface culling HOT 1
- flatShaded mode will render black if viewport is not set to flatShaded prior to capture HOT 3
- Maya Batch Mode does not respect viewport_options HOT 2
- Maya 2025 with Qt6 support fails due to usage of `QDesktopWidget` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maya-capture.