diff --git a/Changes.md b/Changes.md index be700a54ad..0878746fa6 100644 --- a/Changes.md +++ b/Changes.md @@ -9,6 +9,7 @@ Fixes - Fixed handling of shader colour component to float connections in Cycles. - Added `CORTEX_STARTUP_PATHS` to match the Linux wrapper. - PlugPopup : Fixed error when displaying a popup with no PlugValueWidget. +- Instancer : Fixed issue where wrong prototypes were sometimes used in encapsulated renders. 1.5.0.0 (relative to 1.4.15.0) ======= diff --git a/src/GafferScene/Instancer.cpp b/src/GafferScene/Instancer.cpp index a6f6647160..97ed413e55 100644 --- a/src/GafferScene/Instancer.cpp +++ b/src/GafferScene/Instancer.cpp @@ -2711,6 +2711,7 @@ struct Prototype : public IECore::RefCounted IECore::MurmurHash h = hash; h.append( prototypeContext->hash() ); + h.append( *prototypeRoot ); // We find the capsules using the engine at shutter open, but the time used to construct the capsules // must be the on-frame time, since the capsules will add their own shutter