commit 7ca36c6e594737b618ab9ba72a92923a9231631a
parent cbb7c5c0d88a985f2bb54d19615c129de215bf2d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 27 Feb 2019 14:14:51 +0100
Fix the setup of scene properties
The interface of a primitive was fetched using the primitive identifier
returned by the analysis, while one has to ensure that the used
identifier was the index of the primitive as submitted by the caller.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sdis_scene_Xd.h b/src/sdis_scene_Xd.h
@@ -406,7 +406,7 @@ XD(setup_properties)
#endif
/* Fetch the interface of the primitive */
- interf(iprim, &itface, ctx);
+ interf(iprim_adjusted, &itface, ctx);
/* Check that the interface is already registered against the scene */
id = interface_get_id(itface);