Gaffer 1.2.0.0 #5142
johnhaddon
started this conversation in
General
Gaffer 1.2.0.0
#5142
Replies: 1 comment
-
Windows? Amazing thanks ❤️ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This version enables Cycles support by default, as we believe we have made sufficient progress to allow wider testing. We may continue to make behaviour-changing updates if necessary though, so support is not yet considered final.
Features
light:mute
attribute. If that attribute is not present, the light will not be muted.soloLights
set. If that set has one or more members, only the lights in that set will emit. If the set is empty, all lights emit according to their mute state. If a light is both muted and in thesoloLights
set, it will emit.soloLights
set.mute
toggle, which can be accessed in the node editor from theLight Linking
tab.Improvements
GAFFEROSL_USE_BATCHED=0
.keepLights
setting now also keeps light filters.Remove
mode.pathlib.Path
values may now be assigned to StringPlugs.render:camera
is hidden #5131).Fixes
ai:GI_diffuse_depth
andai:GI_specular_depth
options now default to2
when they are left unspecified, matching the default values on the ArnoldOptions node.Remove
menu item in Filter tab.DL_DISPLAYS_PATH
to search for display drivers.pathlib.Path
objects, and any other classes which throwAttributeError
for an attribute advertised bydir()
.setImage()
from within awith widgetContainer
block.parallelGetValue()
to use the wrong context.postCall
to be called on a widget that had already been removed from the UI.API
std::filesystem::path
andpathlib.Path
in the C++ and Python APIs respectively, with automatic conversion between the two. These simplify common use cases, and provide for more elegant cross-platform path handling.serialiseToFile()
,executeFile()
andimportFile()
now takefilesystem::path
arguments.load()
now takes afilesystem::path
argument.fileName()
now returns afilesystem::path
argument.exportForReference()
now takes afilesystem::path
argument.savePreferences()
now takes afilesystem::path
argument.preferencesLocation()
now returns afilesystem::path
.filesystem::path
.standardPath()
method returning astd::filesystem::path
object in C++ and apathlib.Path
object in Python.setValue()
overload taking afilesystem::path
.jobDirectory()
now returns afilesystem::path
.pathlib.Path
.temporaryDirectory()
now returns apathlib.Path
.registerReferenceScene()
now takes afilesystem::path
.save()
andload()
take afilesystem::path
, andgenerateFileName()
returns one.exportExtension()
now takes apathlib.Path
in thedirectory
argument._updateFromPlugs()
and_plugConnections()
methods are deprecated, and support for them will be removed in a future version.setSizeMode()
andgetSizeMode()
methods, andsizeMode
constructor argument. These allow the size behaviour of a PathColumn to be configured.acquireSetEdits()
method.scopedLocale()
method.curve.extrapolationChangedSignal()
function, returns a signal that is called when a curve's extrapolation has changed.Animation.h
for full details).description
metadata for curve extrapolation modes that is used to generate UI tooltips.findDestination()
utility method.renderAnimationCurve()
function now takes a vector of curve vertices and aninKeyRange
argument that indicates whether the specified curve vertices lie within the time range of the curve's keys.dependsOnCompute()
utility method.buttonPressSignal()
,buttonReleaseSignal()
andbuttonDoubleClickSignal()
. These allow a PathColumn to implement its own event handling.setVisiblesSet()
,getVisibleSet()
, andaffectsVisibleSet()
methods.setVisibleSet()
, andgetVisibleSet()
methods._postContructor()
method, which is called after the widget is fully constructed. This can be useful for performing post-initialisation work from a base class.repeatGetValue()
andparallelGetValue()
.assertParallelGetValueComputesObjectOnce()
. This can be used to check that expensive computes are using an appropriate cache policy.rootPath()
andexecutablePath()
methods.Breaking Changes
shaders/MaterialX
are no longer provided, as theOpenShadingLanguage
project removed them and no direct equivalent exists in theMaterialX
project itself. We recommend using alternative shaders, or if necessary, sourcing them from a previous Gaffer release.ai:GI_diffuse_depth
andai:GI_specular_depth
options.LC_NUMERIC=C
environment variable assignment from wrapper. This was a workaround for an OpenColorIO bug that has since been fixed.renderAnimationCurve()
virtual function.disconnect( slot )
method. This was a performance hazard because it was linear in the number of connections. UseConnection::disconnect()
instead, which is constant time.expectedFailure()
decorator. Useunittest.expectedFailure()
instead.SceneInterface::writeSet()
is now used in preference toSceneInterface::writeTags()
for all non-legacy file formats.SceneInterface::readSet()
is now used in preference toSceneInterface::readTags()
for all non-legacy formats.ui:scene:expandedPaths
context variable. Any code directly accessingui:scene:expandedPaths
should instead use thegetExpandedPaths()/setExpandedPaths()/expand()/expandDescendants()
methods provided byContextAlgo
.setExpandedPaths()
andgetExpandedPaths()
methods.setVisibleSet()
andgetVisibleSet()
are now used instead.setReadOnly()
andgetReadOnly()
methods from the following widgets :GafferUI.PlugValueWidget
GafferUI.NodeEditor
GafferUI.NodeUI
GafferUI.PlugLayout
fileName()
Python binding now returns apathlib.Path
argument, orNone
for empty file names.preferencesLocation()
Python binding now returns apathlib.Path
argument.setValue( std::filesystem::path & )
now usespath.generic_string()
for the value, whereas before an automatic conversion would have usedpath.string()
(the native string).jobDirectory()
Python binding now returns apathlib.Path
, orNone
if it is empty.Context::EditableScope
,ImagePlug::ChannelDataScope
,ScenePlug::PathScope/SetScope
: Removed deprecated functions which didn't take pointers and required duplication of data.gadgetsAt()
signature.keepLights
setting now also keeps light filters.Build
usdview
.This discussion was created from the release Gaffer 1.2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions