imageworks/OpenShadingLanguage — pull request #378 by lgritz (2014-06-14 07:10:56+00:00)
Title: Bug fix in instance merging -- differing lockgeom should invalidate merge

We try to merge multiple identical copies of instances within a shading
network by elaborately checking if all their parameters and connections
are different. But we overlooked one factor: if the corresponding
parameters in the two instances were delcared with DIFFERENT lockgeom
overrides. This could cause confusion for sure, because under such
circumstances, the parameters don't mean the same thing in the two
instances (one will search for userdata/primvars, the other will not).