Files
test/source/blender/makesdna
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
2016-07-21 07:17:43 +10:00
2017-03-05 18:10:08 +01:00
2017-04-20 00:38:44 +10:00
2017-06-01 19:59:37 +02:00
2017-07-26 23:49:20 +10:00
2017-06-19 10:47:56 +02:00
2017-05-25 15:19:58 +10:00
2017-05-25 15:19:58 +10:00
2015-11-12 18:54:26 +11:00