Comments (8)
The Shoes manual says nothing about the blur and some other transforms.
from shoes3.
Could not duplicate the issue on Windows 8.1, 64 bit, Shoes 3.2.19. Even changing any or all blur to large values (over 100) do not cause Shoes to crash.
from shoes3.
Duplicated the issue on MacOS X 10.6.8, Shoes 3.2.19 (my own build). Also confirming changing the value of blur at line 7 from 30 to 25 prevents Shoes from crashing. Console.app provides a backtrace from Ruby.
from shoes3.
@backorder - the Shoes/Ruby for Windows is 32 bit.
from shoes3.
changing box_blur method in effects.c (adding a cast) works for me
https://github.com/Shoes3/shoes3/blob/master/shoes/effects.c#L71
out[l2] = run[sums[0]];
out[l2 + 1] = run[sums[1]];
out[l2 + 2] = run[sums[2]];
out[l2 + 3] = run[sums[3]];
to
out[l2] = run[(int)sums[0]];
out[l2 + 1] = run[(int)sums[1]];
out[l2 + 2] = run[(int)sums[2]];
out[l2 + 3] = run[(int)sums[3]];
might be related to some changes from 32bits to 64bits OS and the "value" of unsigned char ...
is casting to int the best option here ?
from shoes3.
@passenger94, that is wonderful! It works for my 64 linux. Please commit the change .
from shoes3.
Is this confirmed on MacOS X? If so, let's close the issue.
from shoes3.
Fixed on OSX as well.
from shoes3.
Related Issues (20)
- 0xc000007b error when trying to run merged shoes exe HOT 2
- Touchscreen scrolling by dragging content HOT 14
- Packaging with an icon causes invalid bit count HOT 2
- Cannot load ZIP gem under certain conditions HOT 42
- Windows 7 mouse offset on 3.3.7 HOT 5
- Image is disappearing upon setting its path back to the original path HOT 4
- Progress bar fractions HOT 2
- Button colors HOT 2
- Image Clearing in Shoes 3 HOT 2
- Window resize HOT 4
- Menu trim for windows HOT 2
- Video player becomes transparent on sides after playing a video file HOT 7
- Iframes in app? HOT 2
- keyup and keydown not working on masOs HOT 3
- Text styles in buttons HOT 4
- Display unicode emoji in UI HOT 6
- icon HOT 9
- install old version of a gem? HOT 2
- download link to mac version offline HOT 15
- Possible logic error in code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shoes3.