Re imported classes are blank

Report bugs. Post bug workarounds or fixes

Moderator: MSandro

Post Reply
SimpleSi
Posts: 330
Joined: Jul 2nd, '17, 13:47

Re imported classes are blank

Post by SimpleSi » Aug 6th, '17, 13:55

I was trying to export classes and re-import them into other projects but I've run into problems with classes that contain defined blocks

This is the simplest that doesn't work for me

If I export the class and do new project and re-import it - it ends up empty
0.png

JohnM
Posts: 379
Joined: Sep 11th, '15, 14:42

Re: Re imported classes are blank

Post by JohnM » Aug 7th, '17, 21:18

Thanks for the bug report. I think you can export and import classes that don't define any blocks, no?

Of course, it should work for classes with block definitions, too.

SimpleSi
Posts: 330
Joined: Jul 2nd, '17, 13:47

Re: Re imported classes are blank

Post by SimpleSi » Aug 18th, '17, 11:42

Yes- I can export/import classes with no defined blocks just not ones with them

SimpleSi
Posts: 330
Joined: Jul 2nd, '17, 13:47

Re: Re imported classes are blank

Post by SimpleSi » Sep 19th, '17, 20:32

JFI: I'm finding that this bug is the one that's slowing me down the most as I cannot reuse any created new classes in other projects

I think this is going to be one of the great pluses of GP and can't wait to use it :-)

JohnM
Posts: 379
Joined: Sep 11th, '15, 14:42

Re: Re imported classes are blank

Post by JohnM » Sep 19th, '17, 21:39

I'm working on that very bug right now! I hope to get a new version of GP out tomorrow that will make class export/import work for many cases, even if it is not perfect. (For example, the next version might not deal will with all name conflicts.) I'm hoping that the basics will work well enough to let you make progress.

Thanks for your patience...

JohnM
Posts: 379
Joined: Sep 11th, '15, 14:42

Re: Re imported classes are blank

Post by JohnM » Sep 20th, '17, 19:55

I've attempted to fix this problem in v75. It's actually more complicated than you'd think, but I think it's mostly working now.

SimpleSi
Posts: 330
Joined: Jul 2nd, '17, 13:47

Re: Re imported classes are blank

Post by SimpleSi » Sep 20th, '17, 21:10

its definitely mostly working at least :)

This is going to be a great feature of GP as it will let anyone create re-usable classes :)

World == Oyster :)

PS Did I mention how great I think this is?

Post Reply