jamie

Results 15 comments of jamie

One thing I've found is it's helpful to have Add/RemoveStyle EntityCommands, so that you don't have to pass Res around to any widget building functions (Something like `commands.entity(my_entity).add_style("my_style").remove_style("default_style")` )

Would this potentially be good for testing? You could have randomly generated layouts and have something compare the results to [whichever browser] (visual diff with basic fill color rects or...

> There was a bug found in the thread safety of SmartNodes, the latest release (0.9.5) contains the fix for it This happens with 0.9.5-alpha (from the release download)

That's the function being called each time (it's just copy pasted directly.) There's an FFI boundary to get to that function, which I should have mentioned in the original ticket...

If this is only showing up for me, I can try to repro it in just C++ later, but was curious if there were any known issues or anything

They're all 32x32 (so xSize * ySize = 1024) I'll see if I can come up with a better set of repro steps ~, but it also hasn't happened again...

It's hard to pinpoint exactly right now because can only get disassembly after it's linked etc, but it looks like it's somewhere in this: [GenUniformGrid2D](https://github.com/Auburn/FastNoise2/blob/v0.9.5-alpha/include/FastNoise/Generators/Generator.inl#L102) or [here](https://github.com/Auburn/FastNoise2/blob/v0.9.5-alpha/include/FastNoise/Generators/Generator.inl#L119) and then here:...

Yep! I'll see if I can setup the debug build etc, if I can't get that working I'll try setting up a purely C++ repro using the same compiler tooling...

Here's the disassembly! haven't seen it crash with a debug build yet, though: https://gist.github.com/jihiggins/164ed62dd843e59c736f5ba3b208d1cf#file-disassembly-asm-L48 (and one up in the callstack: https://gist.github.com/jihiggins/164ed62dd843e59c736f5ba3b208d1cf#file-disassembly-asm-L172)

That's set, got a new crash from an assertion in debug mode. ### First assertion: https://github.com/Auburn/FastNoise2/blob/v0.9.5-alpha/include/FastNoise/Generators/Generator.h#L141 https://github.com/Auburn/FastNoise2/blob/v0.9.5-alpha/include/FastNoise/Generators/Fractal.h#L10 ` fnFractal->SetSource(fnSimplex);` (from the first post) ### If I continue, next assert is:...