Commits

Asbjørn Heid committed fbe65db

Fixed typo in e60bc5f40913 preventing motion blur from working, see issue #1255.

  • Participants
  • Parent commits 57fd345

Comments (0)

Files changed (1)

core/primitive.cpp

 	// Transform instance's differential geometry to world space
 	DifferentialGeometry dgl(obj2world.GetInverse()(dg));
 
-	instance->GetShadingGeometry(obj2world, dgl, dgShading);
+	dg.ihandle->GetShadingGeometry(obj2world, dgl, dgShading);
 	obj2world(*dgShading, dgShading);
 	dgShading->handle = this;
 	dgShading->ihandle = dg.ihandle;