PChemGuy
af3721f167
Explicit NumPy.float64 to int typecasting in FCObjects.py
...
I cannot tell whether the original code worked before, but this explicit typecasting is necessary now.
The issue occurs, for example if attempting to execute "PieChart.py" or "ScaledBitmap2Demo.py" in "samples\floatcanvas". Without typecasting, type errors are thrown, such as "TypeError: Image.Scale(): argument 1 has unexpected type 'numpy.float64'".
Apparently, this problem might be due to recent updates in Python and NumPy.
2022-08-20 21:43:22 +03:00
..
2022-08-02 14:42:52 -04:00
2021-12-13 20:54:44 -08:00
2016-10-12 22:30:53 -05:00
2021-12-13 20:54:44 -08:00
2020-03-10 11:41:39 -07:00
2022-08-20 21:43:22 +03:00
2021-12-01 14:19:00 -05:00
2022-01-11 11:23:06 -05:00
2021-08-07 18:55:49 +02:00
2021-12-13 20:54:44 -08:00
2022-07-08 15:22:46 +02:00
2022-01-11 20:14:04 -05:00
2022-08-08 22:35:58 -04:00
2020-10-13 14:18:03 -07:00
2012-12-18 21:01:42 +00:00
2020-05-14 16:31:59 -07:00
2020-03-10 11:41:39 -07:00
2020-03-10 11:41:39 -07:00
2021-08-07 18:55:49 +02:00
2021-12-15 18:10:12 -08:00
2021-12-30 15:47:07 -05:00
2019-05-25 18:53:04 +02:00
2021-08-07 18:55:49 +02:00
2016-10-12 22:21:38 -05:00
2020-03-10 11:41:39 -07:00
2019-10-10 12:32:50 -07:00
2020-03-10 11:41:39 -07:00
2021-08-07 18:55:49 +02:00
2021-08-07 18:55:49 +02:00
2020-03-10 11:41:39 -07:00
2021-08-07 18:55:49 +02:00
2016-10-12 22:21:38 -05:00
2016-10-12 22:21:38 -05:00
2017-03-29 11:43:33 +01:00
2022-04-26 23:05:12 +09:00
2021-08-07 18:55:49 +02:00
2021-08-07 18:55:49 +02:00
2021-08-07 18:55:49 +02:00
2020-03-23 15:35:41 -07:00
2020-03-10 11:41:39 -07:00
2020-03-10 11:41:39 -07:00
2018-06-25 19:12:00 -07:00
2021-08-07 18:55:49 +02:00
2021-08-07 18:55:49 +02:00
2022-05-31 19:31:29 +02:00
2020-03-10 11:41:39 -07:00
2020-03-10 11:41:39 -07:00
2022-01-11 11:23:06 -05:00
2016-10-12 22:21:38 -05:00
2021-08-07 18:55:49 +02:00
2022-05-02 22:35:18 -04:00
2022-07-25 15:07:39 +01:00
2019-06-20 19:46:45 -05:00
2016-10-12 22:21:38 -05:00
2021-08-07 18:55:49 +02:00
2020-03-10 11:41:39 -07:00
2020-07-19 23:48:39 -05:00
2018-01-16 09:37:04 -06:00
2012-07-13 01:36:07 +00:00
2020-03-10 11:41:39 -07:00
2020-03-20 18:51:19 +01:00
2021-08-07 18:55:49 +02:00
2020-03-10 11:41:39 -07:00
2021-08-07 18:55:49 +02:00
2022-08-01 17:18:42 -05:00
2021-08-07 18:55:49 +02:00
2020-03-10 11:41:39 -07:00
2021-08-07 18:55:49 +02:00
2020-03-10 11:41:39 -07:00
2021-08-07 18:55:49 +02:00
2021-12-13 21:03:49 -08:00
2020-03-23 11:53:36 +01:00
2020-07-19 11:11:28 -04:00
2021-08-07 18:55:49 +02:00
2021-08-07 18:55:49 +02:00
2020-03-10 11:41:39 -07:00
2022-02-24 19:14:11 +00:00
2021-12-01 14:19:00 -05:00
2016-10-12 22:21:38 -05:00
2021-12-01 14:19:00 -05:00
2021-08-07 18:55:49 +02:00
2020-03-10 11:41:39 -07:00
2021-08-07 18:55:49 +02:00