Skip to content
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

Merged
merged 11 commits into from
Jul 18, 2023
Merged

RB 10.5 to main #1375

merged 11 commits into from
Jul 18, 2023

Commits on Jul 14, 2023

  1. 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.
    ivanimanishi committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    4c1438b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1372 from ivanimanishi/blockNegativeSteps

    FrameRange : Prevent creation of FrameRanges with negative steps
    johnhaddon authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    5fb3e51 View commit details
    Browse the repository at this point in the history
  3. DataTraits.dataTypeFromElement : Fix errors when receiving a list

    `__dataTypesConversionDict` contains an item that returns a `None` value
    which would cause an error.
    ivanimanishi committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    2b7a2e3 View commit details
    Browse the repository at this point in the history
  4. 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`.
    ivanimanishi committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    7e624c9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eae39b5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2b05875 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Merge pull request #1373 from ivanimanishi/dataTypeConversionSupportF…

    …orLists
    
    Data type conversion support for lists
    ivanimanishi authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    0d231a8 View commit details
    Browse the repository at this point in the history
  2. Changes : v10.4.10.1

    ivanimanishi authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    fd4018b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43d779d View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Configuration menu
    Copy the full SHA
    ca7f808 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1374 from ImageEngine/tmpRB10.4to10.5

    Merge RB-10.4 to RB-10.5
    ivanimanishi authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    d49d7a5 View commit details
    Browse the repository at this point in the history