Print at Apr 1, 2020, 11:50:36 AM View all posts in this thread on one page
Posted by enkonyito at Sep 8, 2017, 12:28:22 AM
Method not accessible from a plug-in
By checking the compatibility of the PhotoVideoRendering-1.3 plug-in with SweetHome3D-5.5, I get an error after integrating the PhotoRenderer file update.
Error message: "The method getPieceOfFurnitureNormalizedModelTransformation (HomePieceOfFurniture, Node) from the type ModelManager is not visible".

PVR-1.3


SH3D-5.5


Is there a way to circumvent this restriction?

Posted by Puybaret at Sep 8, 2017, 12:50:11 AM
Re: Method not accessible from a plug-in
I guessed you would need getPieceOfFurnitureNormalizedModelTransformation, made it public during half an hour, and finally changed my mind because I didn't want that a method with such parameters be part of the API.
Just copy / paste it in your own code.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by enkonyito at Sep 8, 2017, 11:24:57 PM
Re: Method not accessible from a plug-in
At first the solution did not work but with perseverance the problem was solved.


Thank you!