Skip to content

Gaffer 1.2.0.0a2

Pre-release
Pre-release
Compare
Choose a tag to compare
@johnhaddon johnhaddon released this 13 Jan 12:05
· 2999 commits to main since this release

Features

  • ContextVariableTweaks : Added a new node for tweaking the context used to evaluate upstream nodes 1.

Improvements

  • Light Editor :
    • Added a "Mute" column for toggling a light's mute attribute on and off.
    • Added a "Disable Edit" command to the right-click menu, to easily disable tweaks in EditScopes (shortcut D).
    • Added a "Remove Attribute" command to the right-click menu, to delete attributes using the EditScope (shortcut Delete).
  • Cycles 1 :
    • Replaced size on portals and quad lights with separate width and height parameters, and renamed size parameter of disk lights to width.
    • Added use_camera, use_caustics and normalize parameters to lights.
  • TweakPlug : Added a CreateIfMissing mode, to only create a new value if one does not currently exist 1.
  • OSLObject : Added support for attribute substitutions using <attr:myAttrName> syntax in string parameters, provided that useAttributes is turned on 1.
  • UIEditor : Increased maximum size of the "Button Click Code" editor 1.
  • HierarchyView : Inclusions and Exclusions column header icons now update to show when one or more locations have been added to or excluded from the Visible Set 2.
  • Light : Added an enable/disable toggle to the mute plug 2.
  • AttributeTweaks : Added Remove mode.
  • NodeEditor : Added "Promote Value and Switch" context menu item for promoting NameValuePlugs to Boxes 1.

Fixes

  • Viewer 1 :
    • Fixed Default display transform so that it updates correctly when the default is changed via the Preferences dialogue, and when the context changes.
    • Fixed drawing of image pixels to the left of the display window.
  • 3Delight : Fixed rendering with recent versions of 3Delight, which no longer use the DL_DISPLAYS_PATH to search for display drivers.
  • Metadata :
    • Fixed memory leak.
    • Fixed thread safety bug that prevented concurrent access to metadata for the same plug or node from multiple threads.
  • Cycles 1 :
    • Fixed custom AOVs (for SVM shading mode only, Cycles doesn't support custom AOVs in OSL mode) (#5044).
    • Fixed units for distant light angle (now degrees and not radians).
    • Fixed assignment of emission shader. Previously this was being assigned as a cycles:light attribute instead of cycles:surface (#5058).
    • Hid internal shader plugs which shouldn't be exposed to the user (e.g. surface_mix_weight).
  • ImageViewer : Fixed drawing of pixels to the left of the display window 1.
  • UVInspector : Fixed update delay when changing display transform 1.
  • Random : Fixed GIL management bug which could lead to hangs 1.
  • ShufflePrimitiveVariables, ShuffleAttributes, OptionQuery, PrimitiveVariableQuery, ShaderQuery, ContextQuery, CreateViews, SetVisualiser, OSLImage, OSLObject, OSLCode, Outputs : Fixed bugs which allowed read-only nodes to be edited.
  • ShaderTweaks : Fixed Remove mode 1.
  • FilterQuery : Fixed bug which prevented the output from updating when the input scene changed (#5066) 1.
  • Arnold : Fixed rendering of token enum parameter values loaded from USD 1.

API

  • PlugValueWidget : Added new API to provide asynchronous updates. The old _updateFromPlugs() and _plugConnections() methods are deprecated, and support for them will be removed in a future version.
  • PlugAlgo : Added dependsOnCompute() utility method.
  • FileSystemPath :
    • Added a constructor that accepts a filesystem::path.
    • Added a standardPath() method returning a std::filesystem::path object in C++ and a pathlib.Path object in Python.

Build

  • 3Delight : Updated to 3Delight version 2.9.17.
  1. Changes inherited from 1.x. Can be omitted from the release notes for the final release of 1.2. 2 3 4 5 6 7 8 9 10 11 12 13 14

  2. Changes made to features introduced in 1.2.0.0ax. Can be omitted from the release notes for the final release of 1.2. 2