@@ -217,7 +217,7 @@ void makeGsCoreWrapper()
217217 DS .SARGS ({ " blkids: list[PyDb.ObjectId]" , " sx: int" , " sy: int" , " zoomFactor: float" , " bkrgb: list[int] = ..." }), arg (" bkrgb" ) = boost::python::object ()).staticmethod (" getBlockImages" )
218218
219219
220- .def (" displayImage" , &GsCore::displayImage, DS .SARGS ({ " vpNum : int" , " originLeft : int" , " originTop : int" , " img : wx.Image" })).staticmethod (" displayImage" )
220+ .def (" displayImage" , &GsCore::displayImage, DS .SARGS ({ " vpNum : int" , " originLeft : int" , " originBottom : int" , " img : wx.Image" })).staticmethod (" displayImage" )
221221
222222 ;
223223}
@@ -292,7 +292,7 @@ boost::python::list GsCore::getBlockImages(const boost::python::list& blkids, in
292292 return images;
293293}
294294
295- bool GsCore::displayImage (int viewportNumber, Adesk::Int32 originLeft, Adesk::Int32 originTop , const boost::python::object& image)
295+ bool GsCore::displayImage (int viewportNumber, Adesk::Int32 originLeft, Adesk::Int32 originBottom , const boost::python::object& image)
296296{
297297#if defined(_BRXTARGET260)
298298 throw PyNotimplementedByHost ();
@@ -366,7 +366,7 @@ bool GsCore::displayImage(int viewportNumber, Adesk::Int32 originLeft, Adesk::In
366366 Adesk::Boolean result = acgsDisplayImage (
367367 viewportNumber,
368368 originLeft,
369- originTop ,
369+ originBottom + imageHeight ,
370370 imageWidth,
371371 imageHeight,
372372 static_cast <const void *>(argbBuffer.data ()),
0 commit comments