- User Since
- Oct 27 2016, 2:29 PM (207 w, 4 d)
Aug 30 2019
This issue still exists in the final 2.80 release. primitive_cylinder_add takes ~40 ms in 2.80 running in the classroom demo. On 2.79, it only takes around 4 ms.
Jun 14 2019
May 22 2019
Any updates here? I think this is a high priority issue for the 2.80 release.
Apr 17 2019
Running the script multiple times in an empty scene, performance gets worse for every new object. Starting with ~2ms for the first object, duration with 100 added cylinders is ~12ms.
Please note this is unrelated to application timers. The issue also shows if the add_cylinder is called directly without a custom context:
Apr 16 2019
Mar 1 2019
Yes, bpy.context.scene.view_layers.objects.active works for the code above. But just hitting the next issue:
Feb 28 2019
I have a rather special use case. I'm using Blender as a 3D live view controlled from an external application.
In 2.7 I used bpy.app.handlers.scene_update_pre to emulate such an application timer and there I could access bpy.context.object. Looks like scene_update_pre is gone in 2.8 (without any mention in the release notes AFAIS).
The example works with persistent=True. Though, I still think this is unexpected behavior.
Feb 14 2017
The daily build (930186d) does work. Could it be that this fix didn't make it in the release? :(
This is not resolved in 2.78b!
Dec 8 2016
@Bastien Montagne (mont29) Is there an ETA for the next release including this fix?
Oct 28 2016
Attached two files. Running the main.py script of the main.blend file reproduces this issue.