Kenneth VanderLinde

Results 224 comments of Kenneth VanderLinde

In addition / as an alternative to gradients, we could use assets as textures for light sources. That would allow creating subtle lighting effects. Here's a sample of what that...

It is actually using the new blending. Here's an example that uses the same asset as a texture, but tints it three ways (red/green/blue): ![image](https://user-images.githubusercontent.com/7492219/186735558-8abb37f6-c259-4599-a702-e2928f39a263.png) This is what it would...

Short answer is "yes": ![image](https://user-images.githubusercontent.com/7492219/192090211-857622fb-bd82-471d-ad8a-0ba232be2e91.png) The long answer is that we can't do it performantly. I am hoping that once we get libGDX integrated we'll be able to pull off...

> Can no longer load existing campaigns into MapTool with current code. I also ran into this. Lots of NullPointerExecptions when converting to DTO. There are a fair number of...

I did some research into null values vs xstream. Apparently xstream isn't setting these missing fields to null, it instead just skips object construction altogether. Not only does this mean...

> The fromDto methods that I added for protobuf serialisation call the constuctors properly. We can add further initialisation there if needed. The `fromDto` side of things looks fine -...

During testing of #3274 I discovered that the protobuf code can throw this exception for HeroLab tokens: java.lang.NullPointerException at net.rptools.maptool.server.proto.HeroLabDataDto$Builder.setMinionMasterIndex(HeroLabDataDto.java:1686) at net.rptools.maptool.model.HeroLabData.toDto(HeroLabData.java:557) at net.rptools.maptool.model.Token.toDto(Token.java:3011) at net.rptools.maptool.client.ServerCommandClientImpl.putToken(ServerCommandClientImpl.java:174) at net.rptools.maptool.client.ui.zone.ZoneRenderer.addTokens(ZoneRenderer.java:4636) at net.rptools.maptool.client.ui.zone.ZoneRenderer.drop(ZoneRenderer.java:4705)...

This looks to be caused by a fix that prevented Hessian from deserializing arbitrary types, and the GSON types aren't on the "allow" list. Usually trying to deserialize such a...

I have encountered something similar once a few weeks ago (I _think_ it was exactly this error) when running a game. I had a server running, plus 6 more clients...

I haven't taken a look at any of the code changes yet, but I have done some basic testing so far and have found a few issues with the gdx...