Campbell Barton
3ed5c9a610
PyAPI: Store PyInstances for ID's
...
This means once an ID is created,
it will keep using the same PyObject instance.
This has some advantages:
- Avoids unnecessary re-creation of instances on UI poll / redraw.
- Accessing free'd ID's gives an exception instead of crashing.
(long standing annoyance!, though this only applies to ID's
and not yet other data that uses the ID's - vertices for eg).
- Allows using instance comparison (a little faster).
Note that the instances won't be kept between undo.
2017-07-26 23:49:20 +10:00
..
2017-07-01 20:19:12 +10:00
2012-12-20 07:57:26 +00:00
2017-05-04 02:15:50 +10:00
2015-11-03 10:31:08 +01:00
2016-09-12 15:39:40 +02:00
2016-05-18 03:19:06 +12:00
2016-12-28 17:30:58 +01:00
2016-07-21 07:17:43 +10:00
2017-04-26 21:06:00 +10:00
2017-03-05 18:10:08 +01:00
2016-07-30 15:14:26 +10:00
2016-08-01 09:06:40 +10:00
2016-10-29 12:23:09 +02:00
2014-04-16 22:40:07 -03:00
2017-04-20 00:38:44 +10:00
2017-05-30 18:05:59 +10:00
2017-06-01 19:59:37 +02:00
2015-05-08 06:54:13 +10:00
2016-12-28 17:30:58 +01:00
2012-02-17 18:59:41 +00:00
2017-06-01 19:59:37 +02:00
2014-11-19 20:49:18 +01:00
2016-08-13 01:40:19 +02:00
2017-03-22 21:33:53 -04:00
2017-05-12 16:31:12 +02:00
2015-08-10 15:41:28 +02:00
2017-07-26 23:49:20 +10:00
2016-01-27 12:06:57 +03:00
2016-12-28 17:30:58 +01:00
2015-01-07 02:06:37 +11:00
2017-06-03 00:54:01 +02:00
2017-04-13 22:09:59 +10:00
2017-06-08 10:46:45 +02:00
2017-06-19 10:47:56 +02:00
2015-07-10 23:15:57 +09:00
2013-02-22 14:12:55 +00:00
2014-02-13 19:12:28 +11:00
2017-07-11 12:39:35 +02:00
2017-05-25 15:19:58 +10:00
2017-05-25 15:19:58 +10:00
2013-08-19 09:41:13 +00:00
2017-05-24 23:38:15 +10:00
2016-10-14 17:22:57 +02:00
2013-05-28 01:15:59 +00:00
2017-07-24 15:28:27 +02:00
2017-04-17 17:35:53 +02:00
2017-04-10 22:23:50 +02:00
2017-07-26 23:49:20 +10:00
2017-05-19 15:51:09 +02:00
2015-05-05 05:19:49 +10:00
2017-07-20 15:38:48 +02:00
2013-05-28 01:15:59 +00:00
2016-12-28 17:30:58 +01:00
2017-07-26 23:49:20 +10:00
2017-06-01 20:46:18 +02:00
2016-07-14 13:28:24 +10:00
2015-11-12 18:54:26 +11:00
2016-04-27 15:49:13 +10:00
2016-12-28 17:30:58 +01:00
2015-07-10 15:58:50 +10:00
2017-05-26 17:44:00 +02:00
2012-02-17 18:59:41 +00:00
2017-07-26 23:49:20 +10:00
2016-03-24 12:07:03 +01:00
2016-08-16 14:25:55 +02:00
2017-06-19 17:52:26 +10:00
2012-02-17 20:56:25 +00:00
2014-07-20 01:33:40 +10:00
2015-04-21 13:10:32 +10:00
2017-07-13 01:59:44 +10:00
2017-06-01 19:59:37 +02:00
2017-06-01 20:46:18 +02:00
2017-06-04 12:08:34 +02:00