Method not accessible from a plug-in

This topic has been viewed 5358 times and has 2 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Method not accessible from a plug-in

Post by enkonyito »

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
Image

SH3D-5.5
Image

Is there a way to circumvent this restriction?
EnkoNyito
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Method not accessible from a plug-in

Post by Puybaret »

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 creator
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Method not accessible from a plug-in

Post by enkonyito »

At first the solution did not work but with perseverance the problem was solved.
Image

Thank you!
EnkoNyito
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest