awaytools / AwayBuilder

Other
71 stars 36 forks source link

Running Away Builder as library project #245

Closed rat-moonshine closed 6 years ago

rat-moonshine commented 6 years ago

Hello!

I know its been a while, and the project may not visited by its authors too often. I'm just hoping for some clue/solution, if can be suggested by somebody (to get us going).

I'm trying to run Away Builder as a library project and called into a desktop application as swc. So far, application starts, it populates its all panels etc., but the 3D editor stage (Scene3DManager).

Here's how it looks basically, when ran: screenshot

Although, there is no error while debugging the application, but the stage just not rendered when run as library project to another application. If I ran Away Builder as a standalone application, it works good!

Any suggestion, where should I look into, what should I need to fix, or do differently?

It'd be great help if some workaround come along! Thank you, in advance!

Regards.

rat-moonshine commented 6 years ago

I think I have found the problem area. To include as a library project, I once changed the original application tag to use Spark BorderContainer, with a background colour. Somehow, using this BorderContainer was creating trouble to render the 3D stage. Once I changed it to Group, everything starts rendering well! (Not sure what was the dependency conflict using BorderContainer, though).

Anyway, I'm fine to use Group instead, and this working good as well. Thanks!