Page MenuHome
Feed Advanced Search

Sat, Feb 16

Vlad (Darcvizer) added a comment to T60891: Python bgl docs still includes deprecated OpenGL functions.

I would be happy to give an example of how to transfer the coordinates of a real object, rather than enter them manually.
https://docs.blender.org/api/blender2.8/gpu.html#wireframe-cube-using-index-buffer

Sat, Feb 16, 11:33 AM · Python, BF Blender

Thu, Feb 14

Bastian Neumann (bneu) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

Thank you for providing an fix for that issue.

Thu, Feb 14, 8:28 AM · Python, BF Blender
G. Krause (G.Krause) added a comment to T61443: ExportHelper crashes with exit code 3221226356 when called.

I have updated my Blender to yesterday's version and am unfortunately still having the same crashes.
I also updated my sample code in the first post, seems I deleted too much code when I was simplifying it. I am very sorry for that.
It should work (or rather crash) as intended now. I even added a small panel for convenience's sake.

Thu, Feb 14, 4:04 AM · Python, BF Blender: 2.8
G. Krause (G.Krause) raised the priority of T61443: ExportHelper crashes with exit code 3221226356 when called from Needs Information from User to Needs Triage by Developer.
Thu, Feb 14, 3:53 AM · Python, BF Blender: 2.8

Wed, Feb 13

Jacques Lucke (JacquesLucke) triaged T61443: ExportHelper crashes with exit code 3221226356 when called as Needs Information from User priority.

I cannot reproduce this in the current build. Please check if the issue still exists.
If yes, then please start Blender from the terminal and post the output here.

Wed, Feb 13, 5:33 PM · Python, BF Blender: 2.8
Sebastian Parborg (zeddb) merged task T59113: Addon's keymaps are not registered at Blender opening if the addon's enable state is saved in user preferences into T60766: Modal keymap customization from an addon is not restored properly.
Wed, Feb 13, 4:39 PM · Python, BF Blender

Tue, Feb 12

Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

Ok. Thanks for Your help, and sorry for posting it here.

Tue, Feb 12, 3:20 PM · Addons, Python, BF Blender
Philipp Oeser (lichtwerk) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

thanx @Bastien Montagne (mont29) for clearing that up! (sorry for my uneducated fiddeling here...)

Tue, Feb 12, 3:05 PM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.
Tue, Feb 12, 2:57 PM · Addons, Python, BF Blender
dima glib (dairin0d) added a comment to T61433: Non-single-column layouts are not displayed correctly in menus.

Thanks again!

Tue, Feb 12, 2:55 PM · User Interface, Python, BF Blender
Bastien Montagne (mont29) closed T61297: Blender is losing reference to collection property item when used in a recursive function? as Invalid.

First of all, this is not a bug report at all, and should not be handled here. We have a site for that kind of question: https://devtalk.blender.org/

Tue, Feb 12, 2:44 PM · Addons, Python, BF Blender
Philipp Oeser (lichtwerk) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

I can only repeat myself: I am on shaky ground here, if the above file doesnt work for you, I am probably out of ideas...

Tue, Feb 12, 2:42 PM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

Sorry, Your blend file was not empty, my mistake. But the error still occurs.

Tue, Feb 12, 2:35 PM · Addons, Python, BF Blender
Philipp Oeser (lichtwerk) added a comment to T61433: Non-single-column layouts are not displayed correctly in menus.

Not sure if this is the recommended way, but picking a region type for your spacetype that doesnt draw panels automatically seems fine, I guess...
So for space TEXT_EDITOR, you could use bl_region_type = 'HEADER', bl_region_type = 'WINDOW'?

Tue, Feb 12, 2:24 PM · User Interface, Python, BF Blender
Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

This .blend file You attached is (as far as I know) default init blend file, so I can't check what You have changed. Please attach the changed .py file.
I followed Your directions:

  • I removed enumerate (It was there for testing purposes anyway), but this did not solve the problem.
  • I assume that Your step 2 was passing 'deepcopy(branch['sub_items'])' instead of ''branch['sub_items'] into the recursive function. It did not solve the problem for me (did it for You?). Please remember that (like I wrote in the comments of my py file) calling operator again does not replicate the error: "I have to restart blender to repeat the error". And after that changes error is still there. Also, the problem from Your link is little different from mine, because my problem is with 'current_item' variable (not with ''branch['sub_items']"). I am not passing 'current_item' to the recursive call, and as far as I know my current_tems variables from every scope point to a different object, coz I create it in the scope, not passing it as a parameter.

Regards.

Tue, Feb 12, 2:08 PM · Addons, Python, BF Blender
dima glib (dairin0d) added a comment to T61433: Non-single-column layouts are not displayed correctly in menus.

Thanks! layout.popover() seems like exactly what I need.

Tue, Feb 12, 1:24 PM · User Interface, Python, BF Blender
Philipp Oeser (lichtwerk) placed T61297: Blender is losing reference to collection property item when used in a recursive function? up for grabs.
Tue, Feb 12, 1:12 PM · Addons, Python, BF Blender
Philipp Oeser (lichtwerk) triaged T61297: Blender is losing reference to collection property item when used in a recursive function? as Normal priority.

Can confirm the crash (when accessing/printing the current_item after the recursive call)

Tue, Feb 12, 1:11 PM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

?

Tue, Feb 12, 12:14 PM · Addons, Python, BF Blender
Philipp Oeser (lichtwerk) closed T61433: Non-single-column layouts are not displayed correctly in menus as Resolved.

Oki, closing then

Tue, Feb 12, 11:33 AM · User Interface, Python, BF Blender
William Reynish (billreynish) added a comment to T61433: Non-single-column layouts are not displayed correctly in menus.

I think this is just a limitation of the menu system. For more custom layouts, use a popover.

Tue, Feb 12, 11:26 AM · User Interface, Python, BF Blender
Philipp Oeser (lichtwerk) added projects to T61433: Non-single-column layouts are not displayed correctly in menus: Python, User Interface.

Menus are a bit limited in regards to layout.
I dont have an exact list of these limitations (I just remeber I had an issue in D4215 as well).

Tue, Feb 12, 11:22 AM · User Interface, Python, BF Blender
G. Krause (G.Krause) updated the task description for T61443: ExportHelper crashes with exit code 3221226356 when called.
Tue, Feb 12, 11:19 AM · Python, BF Blender: 2.8
G. Krause (G.Krause) created T61443: ExportHelper crashes with exit code 3221226356 when called.
Tue, Feb 12, 11:12 AM · Python, BF Blender: 2.8
Philipp Oeser (lichtwerk) merged T61418: prop_search() on collections returns annotated name of collection in destination string property into T58641: Identifier resulted from prop_search is prefixed by three spaces..
Tue, Feb 12, 9:35 AM · Python, BF Blender

Sun, Feb 10

Campbell Barton (campbellbarton) added a comment to D4326: Fix Python 3 syntax errors reported in T61332.

I think this isn't worth worrying about, we could use from __future__ import print_function all over for our utilities, but in practice we never had people adding back old style print statements.

Sun, Feb 10, 12:57 AM · Python

Sat, Feb 9

Chris Clauss (ccc) added a comment to D4326: Fix Python 3 syntax errors reported in T61332.

The future import makes legacy print statements syntax errors even in Python 2 which prevents Python 2 developers from making changes which break Python 3 compatibility.

Sat, Feb 9, 7:38 AM · Python
Campbell Barton (campbellbarton) abandoned D4326: Fix Python 3 syntax errors reported in T61332.

Committed rB7262ac6202eb9258293473f35a24f375f9d6f635, no need for __future__

Sat, Feb 9, 3:13 AM · Python

Fri, Feb 8

Jacques Lucke (JacquesLucke) added a reviewer for D4326: Fix Python 3 syntax errors reported in T61332: Jacques Lucke (JacquesLucke).
Fri, Feb 8, 10:28 PM · Python
Philipp Oeser (lichtwerk) reopened T61297: Blender is losing reference to collection property item when used in a recursive function? as "Open".

That was probably a bit too quick on my side, need to look at that again (on Monday)...

Fri, Feb 8, 9:01 PM · Addons, Python, BF Blender
Chris Clauss (ccc) created D4326: Fix Python 3 syntax errors reported in T61332.
Fri, Feb 8, 8:40 PM · Python
Piotr Kowalczyk (dopiotrko) added a comment to T61297: Blender is losing reference to collection property item when used in a recursive function?.

I regret to write: it is not it :(.
I changed init to sub_init and I steel get TypeError: unsubscriptable object.


Regards

Fri, Feb 8, 7:27 PM · Addons, Python, BF Blender
Adam Dominec (emu) added a comment to T60093: Cycles bake (bpy.ops.object.bake) unstable when using `uv_layer` parameter.

I couldn't check that the bake result is correct. Yesterday's daily build crashes upon clicking the image dropdown menu in Image editor or UV editor. That's an unrelated issue, and I'll wait a day or two before reporting it.

Fri, Feb 8, 2:47 PM · BF Blender, Python, Cycles
Adam Dominec (emu) closed T60093: Cycles bake (bpy.ops.object.bake) unstable when using `uv_layer` parameter as Resolved.

Cool, it seems to be fixed in current daily builds. I close my bug report as resolved.

Fri, Feb 8, 2:41 PM · BF Blender, Python, Cycles
Philipp Oeser (lichtwerk) closed T61297: Blender is losing reference to collection property item when used in a recursive function? as Resolved.

RNA_def_property: runtime property identifier "TreeItems.items" - this keyword is reserved by python

Fri, Feb 8, 11:35 AM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) updated the task description for T61297: Blender is losing reference to collection property item when used in a recursive function?.
Fri, Feb 8, 11:03 AM · Addons, Python, BF Blender
Jeducious (jameshcrowther) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

@Campbell Barton (campbellbarton) Thank you :), just downloaded the latest 2.80 beta directly from blender.org and so far, all working well. Thanks again. Can't overstate how grateful we are.... and relieved too. :)

Fri, Feb 8, 9:43 AM · Python, BF Blender
Campbell Barton (campbellbarton) changed the status of T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode from Archived to Resolved.

Committed basic undo system support in background mode: rB3d16a268ee688da25f72a1adb08fdaab454c344d

Fri, Feb 8, 12:21 AM · Python, BF Blender

Thu, Feb 7

Piotr Kowalczyk (dopiotrko) updated the task description for T61297: Blender is losing reference to collection property item when used in a recursive function?.
Thu, Feb 7, 11:13 PM · Addons, Python, BF Blender
Piotr Kowalczyk (dopiotrko) created T61297: Blender is losing reference to collection property item when used in a recursive function?.
Thu, Feb 7, 11:02 PM · Addons, Python, BF Blender
Sebastian Parborg (zeddb) triaged T55020: Blender crash when creating node tree links with Python as Needs Information from User priority.

Is this still an issue if you use the latest intel drivers?

Thu, Feb 7, 7:12 PM · Platform: Windows, Nodes, Python, BF Blender
Sebastian Parborg (zeddb) triaged T61264: obj.to_mesh() crashes on mesh with armature modifier, when run 2x as Confirmed, Medium priority.
Thu, Feb 7, 12:46 PM · Python, BF Blender: 2.8
Sebastian Parborg (zeddb) assigned T61264: obj.to_mesh() crashes on mesh with armature modifier, when run 2x to Sergey Sharybin (sergey).

I'm getting the following assert when changing the properties:
BLI_assert failed: blender/source/blender/depsgraph/intern/depsgraph_query.cc:145, DEG_get_evaluated_scene(), at 'scene_cow != __null && DEG::deg_copy_on_write_is_expanded(&scene_cow->id)'

Thu, Feb 7, 12:46 PM · Python, BF Blender: 2.8
Tom Edwards (artfunkel) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

I also take copies of objects. I then, among other things:

Thu, Feb 7, 10:57 AM · Python, BF Blender
Jose Conseco (joseconseco) created T61264: obj.to_mesh() crashes on mesh with armature modifier, when run 2x.
Thu, Feb 7, 1:12 AM · Python, BF Blender: 2.8
Campbell Barton (campbellbarton) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

@Jeducious (jameshcrowther), updated P563 although this should be documented.

Thu, Feb 7, 12:31 AM · Python, BF Blender

Wed, Feb 6

Tom Edwards (artfunkel) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

I maintain an exporter add-on which messes extensively with the scene during export, then uses undo to clean everything up. Now that undo is unavailable in background mode junk objects are leaking out everywhere. I don't think that many users of my addon are running it in background mode...but *I* am for my unit tests, and those directly affect the quality of the addon.

Wed, Feb 6, 12:47 PM · Python, BF Blender
Benjamin Humpherys (brhumphe) removed a watcher for Python: Benjamin Humpherys (brhumphe).
Wed, Feb 6, 4:47 AM
Jeducious (jameshcrowther) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

Hi @Bastian Neumann (bneu), this is mostly a question of priorities since there are enough high priority undo bugs open which need attention, see: T61045

2.79b also didn't properly initialize undo, eg: wm_files.c

	if (!G.background) {
		BKE_undo_reset();
		BKE_undo_write(C, "original");  /* save current state */
	}

While it didn't crash, it wasn't fully working either.

This is something to look into, if we should have basic memfile undo support in background mode, or add the ability to fully initialize undo.

Some context for how you're using this feature in 2.79 would be helpful.


I commented about this on the thread that explained how to use it, but no one ever replied to my comment that it wasn't working.

Could you link to this post?

Wed, Feb 6, 4:46 AM · Python, BF Blender
Jeducious (jameshcrowther) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

@Jeducious (jameshcrowther), can you briefly explain what you need undo in background mode for? For memory usage on render nodes being able to save memory is quite important, and now might be a good time to make such a breaking change. However there may be solutions to handle both cases.

Note that there is a replacement for scene_update_post in the form of depsgraph_update_post and the new timer API.

Wed, Feb 6, 4:34 AM · Python, BF Blender
Campbell Barton (campbellbarton) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

Hi @Bastian Neumann (bneu), this is mostly a question of priorities.

Wed, Feb 6, 2:08 AM · Python, BF Blender

Tue, Feb 5

Sebastian Parborg (zeddb) triaged T54468: Segmentation fault when selecting context.area.type before applying operator (scripting) as Needs Information from User priority.

@Philipp Oeser (lichtwerk) still planning to look into this?

Tue, Feb 5, 8:59 PM · Python, BF Blender
Sebastian Parborg (zeddb) triaged T54629: Incorrect qhull library called as Needs Information from User priority.

Is this still an issue with 2.79?

Tue, Feb 5, 7:51 PM · Python, BF Blender
Dharma Teja Reddy Kasa (blenDTR) added a comment to T61159: CollectionProperty declarations throwing errors randomly .
  1. You're correct. I changed it to tuple and no there's no error after that. Thanks for correction. I didn't know ordering issue with sets. New learning today :)
Tue, Feb 5, 6:39 PM · Addons, Python, BF Blender
Brecht Van Lommel (brecht) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

@Jeducious (jameshcrowther), can you briefly explain what you need undo in background mode for? For memory usage on render nodes being able to save memory is quite important, and now might be a good time to make such a breaking change. However there may be solutions to handle both cases.

Tue, Feb 5, 5:30 PM · Python, BF Blender
Jacques Lucke (JacquesLucke) closed T61159: CollectionProperty declarations throwing errors randomly as Archived.

I found two problems in the code.

Tue, Feb 5, 4:36 PM · Addons, Python, BF Blender
Dharma Teja Reddy Kasa (blenDTR) added a comment to T61159: CollectionProperty declarations throwing errors randomly .

Find source code below (video is recorded with following source code only)

Tue, Feb 5, 4:18 PM · Addons, Python, BF Blender
Bastian Neumann (bneu) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

I've respectfully request that this bug be fixed so that the undo system will again be usable in background mode allowing the crowdrender addon to function. Crowdrender is one of the most important addons for our company.

Tue, Feb 5, 2:51 PM · Python, BF Blender

Mon, Feb 4

Philipp Oeser (lichtwerk) assigned T61156: Calling Object.to_mesh on a Metaball object yields an empty mesh to Sergey Sharybin (sergey).

hold on, or should we pass the evaluated object here in the first place?

Mon, Feb 4, 1:16 PM · Python, BF Blender
Jacques Lucke (JacquesLucke) added a comment to T61159: CollectionProperty declarations throwing errors randomly .

Can you share a small complete example that we can use to reproduce the issue?

Mon, Feb 4, 12:42 PM · Addons, Python, BF Blender
Dharma Teja Reddy Kasa (blenDTR) added a comment to T61159: CollectionProperty declarations throwing errors randomly .

Here is registration code (snapshot)

Mon, Feb 4, 12:42 PM · Addons, Python, BF Blender
Dharma Teja Reddy Kasa (blenDTR) added a comment to T61159: CollectionProperty declarations throwing errors randomly .

Yes... I registered RenderLayersToInclude before ConfigCreatorOperator

Mon, Feb 4, 12:40 PM · Addons, Python, BF Blender
Philipp Oeser (lichtwerk) added a comment to T61156: Calling Object.to_mesh on a Metaball object yields an empty mesh.

bandaid:

1
2
3diff --git a/source/blender/blenkernel/intern/mesh_convert.c b/source/blender/blenkernel/intern/mesh_convert.c
4index a61d9da2c70..cd2e91fb29c 100644
5--- a/source/blender/blenkernel/intern/mesh_convert.c
6+++ b/source/blender/blenkernel/intern/mesh_convert.c
7@@ -955,9 +955,10 @@ Mesh *BKE_mesh_new_from_object(
8 }
9 else {
10 ListBase disp = {NULL, NULL};
11- if (ob->runtime.curve_cache) {
12- disp = ob->runtime.curve_cache->disp;
13+ if (!ob->runtime.curve_cache) {
14+ BKE_displist_make_mball(depsgraph, sce, ob);
15 }
16+ disp = ob->runtime.curve_cache->disp;
17 BKE_mesh_from_metaball(&disp, tmpmesh);
18 }
19

Mon, Feb 4, 12:24 PM · Python, BF Blender
Jacques Lucke (JacquesLucke) triaged T61156: Calling Object.to_mesh on a Metaball object yields an empty mesh as Confirmed, Medium priority.
Mon, Feb 4, 12:09 PM · Python, BF Blender
Jacques Lucke (JacquesLucke) triaged T61159: CollectionProperty declarations throwing errors randomly as Needs Information from User priority.

Did you register RenderLayersToInclude before you registered ConfigCreatorOperator?

Mon, Feb 4, 12:06 PM · Addons, Python, BF Blender

Sun, Feb 3

Dharma Teja Reddy Kasa (blenDTR) created T61159: CollectionProperty declarations throwing errors randomly .
Sun, Feb 3, 2:10 PM · Addons, Python, BF Blender
Tom Edwards (artfunkel) created T61156: Calling Object.to_mesh on a Metaball object yields an empty mesh.
Sun, Feb 3, 11:52 AM · Python, BF Blender

Fri, Feb 1

Jeducious (jameshcrowther) updated subscribers of T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

@Campbell Barton (campbellbarton) I can appreciate the reasoning you gave for not reinstating the undo stack in background mode. However, I respectfully request you reconsider. For one, the change that we're talking about was never mentioned in the API. Yet you mentioned it is an intentional change. That change has now given us a major redesign task to make our addon compatible with 2.80 that we were not expecting and it would be fantastic to have more time to adjust. Given time we can work around.

Fri, Feb 1, 10:03 AM · Python, BF Blender
Campbell Barton (campbellbarton) closed T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode as Archived.

Raise an error instead of crashing, closing rB1b7c361fbb320744e6b7cc0c03b5f850e8fbfd9e

Fri, Feb 1, 4:10 AM · Python, BF Blender
Campbell Barton (campbellbarton) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

Not using the undo stack in background mode was an intentional change.

Fri, Feb 1, 3:46 AM · Python, BF Blender
Campbell Barton (campbellbarton) renamed T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode from Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python. to Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.
Fri, Feb 1, 3:32 AM · Python, BF Blender

Thu, Jan 31

Campbell Barton (campbellbarton) renamed T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode from bpy.ops. to Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python..
Thu, Jan 31, 11:07 PM · Python, BF Blender
Jeducious (jameshcrowther) added a comment to T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode.

@Brecht Van Lommel (brecht) @Philipp Oeser (lichtwerk) @Campbell Barton (campbellbarton) Thanks guys :)

Thu, Jan 31, 10:41 AM · Python, BF Blender

Wed, Jan 30

Philipp Oeser (lichtwerk) assigned T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode to Campbell Barton (campbellbarton).

@Brecht Van Lommel (brecht): Sorry, was blinkered by T60684 all day :/

Wed, Jan 30, 5:02 PM · Python, BF Blender
Brecht Van Lommel (brecht) raised the priority of T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode from Confirmed, Medium to Confirmed, High.

@Philipp Oeser (lichtwerk), did you find the commit?

Wed, Jan 30, 2:46 PM · Python, BF Blender

Tue, Jan 29

Brecht Van Lommel (brecht) added a comment to T60891: Python bgl docs still includes deprecated OpenGL functions.

That seems fine, I guess we can just link to the OpenGL reference docs for each function.

Tue, Jan 29, 3:42 PM · Python, BF Blender
Jacques Lucke (JacquesLucke) added a comment to T60891: Python bgl docs still includes deprecated OpenGL functions.

Hmm, I could do it but it does not feel like it is worth it.
Maybe we should just link to http://docs.gl/ and mention how bgl differs from the C functions.
I guess the main difference is that bgl.Buffer has toused as parameter instead of a pointer.

Tue, Jan 29, 3:38 PM · Python, BF Blender
Brecht Van Lommel (brecht) added a comment to T60891: Python bgl docs still includes deprecated OpenGL functions.

Maybe it was generated at one point, but I can't find anything about that in git history.

Tue, Jan 29, 3:25 PM · Python, BF Blender
Jacques Lucke (JacquesLucke) added a comment to T60891: Python bgl docs still includes deprecated OpenGL functions.

@Brecht Van Lommel (brecht), is doc/python_api/rst/bgl.rst all handwritten, or is it generated?

Tue, Jan 29, 2:36 PM · Python, BF Blender

Mon, Jan 28

Philipp Oeser (lichtwerk) triaged T60934: Undo crashes when calling bpy.ops.ed.undo_history(index=0) from Python in background mode as Confirmed, Medium priority.

Can confirm, bisecting...

Mon, Jan 28, 10:02 AM · Python, BF Blender

Sat, Jan 26

Brecht Van Lommel (brecht) triaged T60891: Python bgl docs still includes deprecated OpenGL functions as Confirmed, Medium priority.

These functions are no longer available, it is the documentation that needs updating:
https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/Draw_API

Sat, Jan 26, 2:37 PM · Python, BF Blender
Brecht Van Lommel (brecht) renamed T60891: Python bgl docs still includes deprecated OpenGL functions from The library is missing glVertex. to Python bgl docs still includes deprecated OpenGL functions.
Sat, Jan 26, 2:36 PM · Python, BF Blender
Vlad (Darcvizer) updated the task description for T60891: Python bgl docs still includes deprecated OpenGL functions.
Sat, Jan 26, 2:11 PM · Python, BF Blender
Vlad (Darcvizer) created T60891: Python bgl docs still includes deprecated OpenGL functions.
Sat, Jan 26, 2:10 PM · Python, BF Blender

Fri, Jan 25

Sebastian Parborg (zeddb) triaged T60093: Cycles bake (bpy.ops.object.bake) unstable when using `uv_layer` parameter as Needs Information from User priority.

I can't seem to reproduce this issue. Could you see if you still get this with the latest blender beta?
IIRC there has been some fixes to cycles baking.

Fri, Jan 25, 11:48 AM · BF Blender, Python, Cycles

Thu, Jan 24

Brecht Van Lommel (brecht) merged task T56621: Python: Selection, Hiding, and View Layers API into T56351: Python API (parent task).
Thu, Jan 24, 4:50 PM · BF Blender: 2.8, Python
Brecht Van Lommel (brecht) added a comment to T60771: Possible bug in render depsgraph for object_instances.

I agree, we need better docs for this.

Thu, Jan 24, 2:21 PM · Dependency Graph, Python, BF Blender
Jonathan Dent (jdent02) closed T60771: Possible bug in render depsgraph for object_instances as Invalid.

Brecht, your suggestion works. Thanks for the input!

Thu, Jan 24, 2:08 PM · Dependency Graph, Python, BF Blender
Sebastian Parborg (zeddb) triaged T59896: Gizmos done via python block other gizmos already present in the scene as Confirmed, Medium priority.
Thu, Jan 24, 12:50 PM · BF Blender, Python
William Reynish (billreynish) added a comment to T58803: module 'bpy.utils' has no attribute 'register_tool'.

Ok but how are Python addon developers supposed to add active tools then?

Thu, Jan 24, 8:17 AM · BF Blender, Python
Jonathan Dent (jdent02) added a comment to T60771: Possible bug in render depsgraph for object_instances.

Well that's good that it's not a bug. This should be mentioned in the Python API section of the release notes. For addon devs like me there is no mention that you need to use the engine to set the frame now instead of the scene. Then I waste you guys' time posting reports on bugs that aren't bugs.

Thu, Jan 24, 5:00 AM · Dependency Graph, Python, BF Blender
Brecht Van Lommel (brecht) added a comment to T60771: Possible bug in render depsgraph for object_instances.

For rendering, use engine.frame_set() instead of scene.frame_set() to change the frame.

Thu, Jan 24, 4:09 AM · Dependency Graph, Python, BF Blender
Jonathan Dent (jdent02) added a comment to T60771: Possible bug in render depsgraph for object_instances.

Here's a stripped down version of the render plugin. Instead of exporting items it just prints matrix_world

Thu, Jan 24, 4:03 AM · Dependency Graph, Python, BF Blender

Wed, Jan 23

Campbell Barton (campbellbarton) merged T60808: Running the Python template ui_tool_simple.py fails into T58803: module 'bpy.utils' has no attribute 'register_tool'.
Wed, Jan 23, 11:47 PM · BF Blender, Python
Sergey Sharybin (sergey) closed T46592: Custom node bug: mute mode as Archived.

The documentation you've linked works for a "built-in" nodes. Currently python nodes do not support muting. This can be annoying for some usecases, but lack of functionality is not considered a bug and should be handled outside of the bug tracker.

Wed, Jan 23, 3:28 PM · Addons, Python
Jonathan Dent (jdent02) added a comment to T60771: Possible bug in render depsgraph for object_instances.

Thanks Philipp. I’ll get a scene and mock-up to you later today

Wed, Jan 23, 1:30 PM · Dependency Graph, Python, BF Blender
Sebastian Parborg (zeddb) assigned T58437: When 'PERSISTENT' bl_option for GizmoGroup is used gizmo selection/highlight works only when activating addon and stops after reopening blender to Campbell Barton (campbellbarton).

I can confirm that the widget shows up but you can no longer manipulate it if you have the addon enabled on startup.

Wed, Jan 23, 11:51 AM · BF Blender, Python
Philipp Oeser (lichtwerk) triaged T60771: Possible bug in render depsgraph for object_instances as Needs Information from User priority.

Just to make this a little simpler for everyone looking at this:

Wed, Jan 23, 11:37 AM · Dependency Graph, Python, BF Blender
Philipp Oeser (lichtwerk) added projects to T60771: Possible bug in render depsgraph for object_instances: BF Blender, Python, Dependency Graph.
Wed, Jan 23, 11:31 AM · Dependency Graph, Python, BF Blender

Tue, Jan 22

Campbell Barton (campbellbarton) closed T60643: BMesh poke operator does not work as Resolved by committing rBa93cbb70cd6a: Fix T60643: BMesh operator enum args fail when unset from Python.
Tue, Jan 22, 4:29 AM · Python, Mesh Modeling, BF Blender