Skip to content

Commit

Permalink
Instancer : Fix issue with wrong prototypes in encapsulated render
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldresser-ie authored and johnhaddon committed Oct 31, 2024
1 parent bf4664c commit 27d6529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
=======
Expand Down
1 change: 1 addition & 0 deletions src/GafferScene/Instancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27d6529

Please sign in to comment.