-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RB 10.5 to main #1375
RB 10.5 to main #1375
Commits on Jul 14, 2023
-
FrameRange : Prevent creation of FrameRanges with negative steps
Previously, you could create a FrameRange object with a negative step, but it would go into an infinite loop if you tried to get the frame list Given that we have the ReversedFrameList that achieves the same as a negative step, it felt like using that was the correct approach. Note that we still include the support for the negative step in the parse method, so that we can provide a more useful error message during init.
Configuration menu - View commit details
-
Copy full SHA for 4c1438b - Browse repository at this point
Copy the full SHA 4c1438bView commit details -
Merge pull request #1372 from ivanimanishi/blockNegativeSteps
FrameRange : Prevent creation of FrameRanges with negative steps
Configuration menu - View commit details
-
Copy full SHA for 5fb3e51 - Browse repository at this point
Copy the full SHA 5fb3e51View commit details -
DataTraits.dataTypeFromElement : Fix errors when receiving a list
`__dataTypesConversionDict` contains an item that returns a `None` value which would cause an error.
Configuration menu - View commit details
-
Copy full SHA for 2b7a2e3 - Browse repository at this point
Copy the full SHA 2b7a2e3View commit details -
DataTraits.dataTypeFromElement : Convert lists to preferred data type
When converting a list, it was simply using the first match, which would often not be the desired one. Ex: converting `["abc", "b"]` to `IECore.CharVectorData( [ 97, 98 ] )`, instead of `IECore.StringVectorData( [ 'abc', 'b' ] )`. The solution here is to use, on lists, the already existing flag on the `__dataTypesConversionDict` entries that indicated the preferred IECore.Data type for a given source. The options selected here as the preferred one when there was ambiguity were the same ones as returned by the simple (non-vector) types. That required a small update to `dataTypeFromElementType()` in order to avoid returning a random return, now that `list` entries in `__dataTypesConversionDict` can have a preferred flag set to `True`.
Configuration menu - View commit details
-
Copy full SHA for 7e624c9 - Browse repository at this point
Copy the full SHA 7e624c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for eae39b5 - Browse repository at this point
Copy the full SHA eae39b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b05875 - Browse repository at this point
Copy the full SHA 2b05875View commit details
Commits on Jul 17, 2023
-
Merge pull request #1373 from ivanimanishi/dataTypeConversionSupportF…
…orLists Data type conversion support for lists
Configuration menu - View commit details
-
Copy full SHA for 0d231a8 - Browse repository at this point
Copy the full SHA 0d231a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd4018b - Browse repository at this point
Copy the full SHA fd4018bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d779d - Browse repository at this point
Copy the full SHA 43d779dView commit details
Commits on Jul 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ca7f808 - Browse repository at this point
Copy the full SHA ca7f808View commit details -
Merge pull request #1374 from ImageEngine/tmpRB10.4to10.5
Merge RB-10.4 to RB-10.5
Configuration menu - View commit details
-
Copy full SHA for d49d7a5 - Browse repository at this point
Copy the full SHA d49d7a5View commit details