Page MenuHome
Feed Advanced Search

Wed, Apr 24

EitanSomething added a watcher for Python: EitanSomething.
Wed, Apr 24, 8:32 PM

Tue, Apr 23

Brecht Van Lommel (brecht) added a comment to D4720: Providing bash shell shortcuts to the Blender terminal.

To me this seems non-standard enough to not even have it as a preference, unless it's common in other REPL apps.

Tue, Apr 23, 5:27 PM · Python
Campbell Barton (campbellbarton) requested changes to D4720: Providing bash shell shortcuts to the Blender terminal.

Hi, I'm aware of the possibility of adding emacs/bash/readline key shortcuts but would prefer to avoid this for the default keymap.

Tue, Apr 23, 2:08 AM · Python

Mon, Apr 22

Vaishnav S (padthai) added a project to D4720: Providing bash shell shortcuts to the Blender terminal: Python.
Mon, Apr 22, 5:46 PM · Python

Sun, Apr 21

Brecht Van Lommel (brecht) added projects to T63733: Python & Add-ons Module: Python, Addons.
Sun, Apr 21, 3:41 AM · Addons, Python, BF Blender

Tue, Apr 16

Philipp Oeser (lichtwerk) claimed T63651: `ImagePreviewCollection.load` and `ImagePreviewCollection.new` don't behave as described in the Python API docs.

Sounds reasonable, will check with others though [and commit if agreed upon]

Tue, Apr 16, 10:18 AM · Python, BF Blender
Brecht Van Lommel (brecht) reassigned T63483: Reproducable crash in 2.80: bmesh.from_object / mesh_get_eval_final from Philipp Oeser (lichtwerk) to Sergey Sharybin (sergey).
Tue, Apr 16, 12:28 AM · Python, BF Blender
Brecht Van Lommel (brecht) raised the priority of T63483: Reproducable crash in 2.80: bmesh.from_object / mesh_get_eval_final from Confirmed, Medium to Confirmed, High.

We discussed solutions to this type of problem, @Sergey Sharybin (sergey) will probably be the one to implement it.

Tue, Apr 16, 12:28 AM · Python, BF Blender

Fri, Apr 12

Marco (nacioss) added a comment to T63504: Python Template demo script error.

Wow :D my first python fix! Thank you a lot, you are awesome!

Fri, Apr 12, 2:15 PM · Python, BF Blender
Philipp Oeser (lichtwerk) closed T63504: Python Template demo script error as Resolved by committing rBf3fc8271b81f: Fix T63504: Python Template 'ui_previews_dynamic_enum' error.
Fri, Apr 12, 2:12 PM · Python, BF Blender
Philipp Oeser (lichtwerk) edited projects for T63504: Python Template demo script error, added: Python; removed BF Blender: 2.8.
Fri, Apr 12, 2:08 PM · Python, BF Blender

Thu, Apr 11

Philipp Oeser (lichtwerk) added a comment to T63483: Reproducable crash in 2.80: bmesh.from_object / mesh_get_eval_final.

also note there was very similar T61264

Thu, Apr 11, 2:54 PM · Python, BF Blender
Philipp Oeser (lichtwerk) edited projects for T63483: Reproducable crash in 2.80: bmesh.from_object / mesh_get_eval_final, added: BF Blender, Python; removed Addons.
Thu, Apr 11, 2:52 PM · Python, BF Blender

Fri, Apr 5

Sebastian Parborg (zeddb) assigned T63207: Blender freezes when calling an operator after a dialog window. to Campbell Barton (campbellbarton).
Fri, Apr 5, 12:08 PM · BF Blender, Python

Thu, Apr 4

nBurn (nBurn) edited projects for T63207: Blender freezes when calling an operator after a dialog window., added: BF Blender; removed Addons.
Thu, Apr 4, 8:53 PM · BF Blender, Python
Jose Conseco (joseconseco) closed T61264: obj.to_mesh() crashes on mesh with armature modifier, when run 2x as Resolved.

I just tested today build 4th of april, and this file no longer crashes. It seems bug was fixed.

Thu, Apr 4, 7:45 PM · BF Blender, Python
Jacques Lucke (JacquesLucke) closed T60891: Python bgl docs still includes deprecated OpenGL functions as Resolved by committing rB3c7a538c9b73: Fix T60891: bgl docs still include deprecated opengl functions.
Thu, Apr 4, 4:15 PM · Python, BF Blender

Wed, Apr 3

Sebastian Parborg (zeddb) added a comment to T63221: New ui tool does nothing when executed from addon..

I think that the root cause it probably the same as in T60766

Wed, Apr 3, 11:21 AM · BF Blender, Python
Sebastian Parborg (zeddb) merged task T63221: New ui tool does nothing when executed from addon. into T60766: Modal keymap customization from an addon is not restored properly.
Wed, Apr 3, 11:21 AM · BF Blender, Python
Jose Conseco (joseconseco) updated the task description for T63221: New ui tool does nothing when executed from addon..
Wed, Apr 3, 11:19 AM · BF Blender, Python

Tue, Apr 2

Brecht Van Lommel (brecht) added a comment to T63221: New ui tool does nothing when executed from addon..

@Jose Conseco (joseconseco), in the future, please use the bug reporting form:
https://developer.blender.org/maniphest/task/edit/form/1/

Tue, Apr 2, 4:37 PM · BF Blender, Python
Brecht Van Lommel (brecht) added a project to T63221: New ui tool does nothing when executed from addon.: BF Blender.
Tue, Apr 2, 4:37 PM · BF Blender, Python
Jose Conseco (joseconseco) created T63221: New ui tool does nothing when executed from addon..
Tue, Apr 2, 4:10 PM · BF Blender, Python
nBurn (nBurn) updated the task description for T63207: Blender freezes when calling an operator after a dialog window..
Tue, Apr 2, 2:59 PM · BF Blender, Python
nBurn (nBurn) updated the task description for T63207: Blender freezes when calling an operator after a dialog window..
Tue, Apr 2, 2:39 PM · BF Blender, Python
nBurn (nBurn) added a project to T63207: Blender freezes when calling an operator after a dialog window.: Python.
Tue, Apr 2, 6:18 AM · BF Blender, Python

Mon, Apr 1

Brecht Van Lommel (brecht) raised the priority of T61264: obj.to_mesh() crashes on mesh with armature modifier, when run 2x from Confirmed, Medium to Confirmed, High.
Mon, Apr 1, 1:45 PM · BF Blender, Python

Sun, Mar 31

Sebastian Parborg (zeddb) assigned T54468: Segmentation fault when selecting context.area.type before applying operator (scripting) to Campbell Barton (campbellbarton).

Backtrace:

Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
0x00007fffeba89c17 in ?? () from /lib64/libc.so.6
(gdb) bt
#0  0x00007fffeba89c17 in ?? () from /lib64/libc.so.6
#1  0x00005555592b8755 in copy_m4_m4 (m1=0x7fffbc6a5a2c, m2=0x40) at /home/zed/prog/blender/source/blender/blenlib/intern/math_matrix.c:88
#2  0x0000555558015a95 in setTransformViewMatrices (t=0x7fffbc6a5708) at /home/zed/prog/blender/source/blender/editors/transform/transform.c:235
#3  0x00005555580762e9 in initTransInfo (C=0x7fffdc058188, t=0x7fffbc6a5708, op=0x7fffbc5dfec8, event=0x0)
    at /home/zed/prog/blender/source/blender/editors/transform/transform_generics.c:1681
#4  0x000055555801b1ac in initTransform (C=0x7fffdc058188, t=0x7fffbc6a5708, op=0x7fffbc5dfec8, event=0x0, mode=1)
    at /home/zed/prog/blender/source/blender/editors/transform/transform.c:2340
#5  0x0000555558086e01 in transformops_data (C=0x7fffdc058188, op=0x7fffbc5dfec8, event=0x0)
    at /home/zed/prog/blender/source/blender/editors/transform/transform_ops.c:370
#6  0x0000555558087092 in transform_exec (C=0x7fffdc058188, op=0x7fffbc5dfec8) at /home/zed/prog/blender/source/blender/editors/transform/transform_ops.c:463
#7  0x0000555557e63e48 in wm_operator_invoke (C=0x7fffdc058188, ot=0x7fffd6dfab88, event=0x0, properties=0x7fffffffcd90, reports=0x7fffb97fabb8,
    poll_only=false, use_last_properties=true) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:1353
#8  0x0000555557e6464b in wm_operator_call_internal (C=0x7fffdc058188, ot=0x7fffd6dfab88, properties=0x7fffffffcd90, reports=0x7fffb97fabb8, context=6,
    poll_only=false, event=0x0) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:1586
#9  0x0000555557e64899 in WM_operator_call_py (C=0x7fffdc058188, ot=0x7fffd6dfab88, context=6, properties=0x7fffffffcd90, reports=0x7fffb97fabb8,
    is_undo=false) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:1664
#10 0x00005555585af25d in pyop_call (UNUSED_self=<module at remote 0x7fffd7068688>, args=Python Exception <class 'gdb.error'> No type named PyUnicodeObject.:
)
Sun, Mar 31, 9:50 PM · Python, BF Blender

Wed, Mar 27

Philipp Oeser (lichtwerk) closed T50049: Object remains in phantom mode between edit and object as Archived.

Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to archive the report until the requested information is given.
(@Michael Demetriou (qwazix) : just reopen if you've checked and issues persist)

Wed, Mar 27, 1:02 PM · Python, BF Blender

Mar 26 2019

Alexander Kovelenov (AlexKowel) added a comment to T62957: camera.view_frame() returns zero vectors (crashes Verge3D addon).

This was really fast. Thank you very much, Campbell!

Mar 26 2019, 4:00 PM · BF Blender: 2.8, Python, BF Blender
Campbell Barton (campbellbarton) closed T62957: camera.view_frame() returns zero vectors (crashes Verge3D addon) as Resolved by committing rBc2c6083c147c: Fix T62957: Camera frame returns zeros.
Mar 26 2019, 1:02 PM · BF Blender: 2.8, Python, BF Blender
Campbell Barton (campbellbarton) claimed T62957: camera.view_frame() returns zero vectors (crashes Verge3D addon).
Mar 26 2019, 11:03 AM · BF Blender: 2.8, Python, BF Blender
Alexander Kovelenov (AlexKowel) added projects to T62957: camera.view_frame() returns zero vectors (crashes Verge3D addon): Python, BF Blender: 2.8.
Mar 26 2019, 9:45 AM · BF Blender: 2.8, Python, BF Blender

Mar 20 2019

Brecht Van Lommel (brecht) closed T56078: Saving images with python causes Blender to hang as Resolved.

Solved in rB22dc248f14be: Fix T56610: crash saving images with python API..

Mar 20 2019, 10:37 PM · Python, BF Blender

Mar 19 2019

Bastien Montagne (mont29) closed T62732: Bpy/Python is letting create inputs at the node level for node groups that make blend file unsaveable as Resolved by committing rBe8777a729013: Fix T62732: Bpy/Python is letting create inputs at the node level for node….
Mar 19 2019, 2:45 PM · Python, BF Blender
Jacques Lucke (JacquesLucke) added a comment to T62732: Bpy/Python is letting create inputs at the node level for node groups that make blend file unsaveable.

It's nice to hear you say that something is easy, related to node trees haha

Mar 19 2019, 2:43 PM · Python, BF Blender
Bastien Montagne (mont29) added a comment to T62732: Bpy/Python is letting create inputs at the node level for node groups that make blend file unsaveable.

@Jacques Lucke (JacquesLucke) I think this is fairly easy to add (just call the function adding sockets to group's nodetree instead in RNA code), trying it currently…

Mar 19 2019, 2:40 PM · Python, BF Blender
Jacques Lucke (JacquesLucke) updated subscribers of T62732: Bpy/Python is letting create inputs at the node level for node groups that make blend file unsaveable.

I'm pretty sure that this is not supposed to work.
I actually don't know the API to add sockets to groups, but I guess it has to be done "from the inside".

Mar 19 2019, 2:23 PM · Python, BF Blender
Bastien Montagne (mont29) claimed T62732: Bpy/Python is letting create inputs at the node level for node groups that make blend file unsaveable.
Mar 19 2019, 2:23 PM · Python, BF Blender
Bastien Montagne (mont29) added a comment to T62732: Bpy/Python is letting create inputs at the node level for node groups that make blend file unsaveable.

Confirmed, bpy.context.scene.node_tree.nodes['Group'].node_tree.inputs.new('NodeSocketColor','stuff') is working as expected (the direct access from Group node's inputs should be a shortcut to that one I think, or not allow this operation at all, checking code…)

Mar 19 2019, 2:23 PM · Python, BF Blender
Campbell Barton (campbellbarton) closed T59250: Missing events in modal operator as Invalid.

Right, modal keymap handler isn't guaranteed to get all events - other modal operators and popups can swallow the events before they reach this modal operator.

Mar 19 2019, 8:41 AM · Python, BF Blender
iszotic (iszotic) updated the task description for T62732: Bpy/Python is letting create inputs at the node level for node groups that make blend file unsaveable.
Mar 19 2019, 4:53 AM · Python, BF Blender
iszotic (iszotic) added a project to T62732: Bpy/Python is letting create inputs at the node level for node groups that make blend file unsaveable: Python.
Mar 19 2019, 4:38 AM · Python, BF Blender

Mar 18 2019

Michael Demetriou (qwazix) added a comment to T50049: Object remains in phantom mode between edit and object.

I will have to check, but this might take a while.

Mar 18 2019, 6:04 PM · Python, BF Blender

Mar 14 2019

Jacques Lucke (JacquesLucke) added a comment to T61264: obj.to_mesh() crashes on mesh with armature modifier, when run 2x.

Still should not crash I guess..

Mar 14 2019, 3:48 PM · BF Blender, Python
Bastien Montagne (mont29) lowered the priority of T50049: Object remains in phantom mode between edit and object from Normal to Needs Information from User.

Is this still happening in blender 2.8?

Mar 14 2019, 10:44 AM · Python, BF Blender

Mar 13 2019

Sebastian Parborg (zeddb) assigned T61443: ExportHelper crashes with exit code 3221226356 when called to Campbell Barton (campbellbarton).

I can confirm that there is something weird going on. If I open blender and paste in that script and run it and then use the Props Dialog, blender soft hangs for me as soon as I press the OK button.

Mar 13 2019, 12:12 PM · Python, BF Blender: 2.8
dima glib (dairin0d) abandoned D4397: Exposing BASE_HIDDEN flag to python.

Solved by Blender developers themselves in https://developer.blender.org/rBcae89a6889e0fc03130a56b6bf84e257eaff0fec

Mar 13 2019, 10:01 AM · Python, BF Blender: 2.8

Mar 7 2019

Jacques Lucke (JacquesLucke) closed T55020: Blender crash when creating node tree links with Python as Archived.

More than a week without reply or activity. Due to the policy of the tracker archiving for until required info/data are provided.

Mar 7 2019, 3:34 PM · Platform: Windows, Nodes, Python, BF Blender
Jacques Lucke (JacquesLucke) closed T54629: Incorrect qhull library called as Archived.

More than a week without reply or activity. Due to the policy of the tracker archiving for until required info/data are provided.

Mar 7 2019, 3:33 PM · Python, BF Blender
Jacques Lucke (JacquesLucke) raised the priority of T54468: Segmentation fault when selecting context.area.type before applying operator (scripting) from Needs Information from User to Needs Triage by Developer.
Mar 7 2019, 3:32 PM · Python, BF Blender

Mar 5 2019

Jose Conseco (joseconseco) added a comment to T61264: obj.to_mesh() crashes on mesh with armature modifier, when run 2x.

I just noticed when I add 'USE_EVAL_DATA' to operator bl_options
bl_options = {"REGISTER", "UNDO","USE_EVAL_DATA"}
Then crash won't happen. I'm not sure if this bug should be marked as fixed then.

Mar 5 2019, 1:41 PM · BF Blender, Python
Brecht Van Lommel (brecht) edited projects for T61264: obj.to_mesh() crashes on mesh with armature modifier, when run 2x, added: BF Blender; removed BF Blender: 2.8.
Mar 5 2019, 1:30 PM · BF Blender, Python

Mar 4 2019

Tom Edwards (artfunkel) added a comment to T61156: Calling Object.to_mesh on a Metaball object yields an empty mesh.

This bug has been open a month without being addressed, so I'm going to use Phillip's suggested Python workaround. A fix before 2.80 ships would be appreciated!

Mar 4 2019, 8:34 PM · Python, BF Blender

Mar 1 2019

Brecht Van Lommel (brecht) closed T58641: Identifier resulted from prop_search is prefixed by three spaces. as Resolved.

The commit that caused this was reverted, another solution without this problem should be implemented.

Mar 1 2019, 5:16 AM · Python, BF Blender

Feb 28 2019

Jacques Lucke (JacquesLucke) updated subscribers of T61941: Redrawing an UIList on Property Dialog crashes Blender 2.8x.

CTX_wm_region(C) returns NULL in uiTemplateList(..) directly after the file selector is closed.
When I skip the function in this case, everything goes back to normal on the next redraw.

Feb 28 2019, 5:38 PM · Python, BF Blender

Feb 27 2019

Christian Brinkmann (poor) added a comment to T61941: Redrawing an UIList on Property Dialog crashes Blender 2.8x.

of course. Just wasn't sure what's easier to debug. I tried to strip it down as best as I could:

Feb 27 2019, 8:09 PM · Python, BF Blender
Jacques Lucke (JacquesLucke) triaged T61941: Redrawing an UIList on Property Dialog crashes Blender 2.8x as Confirmed, Medium priority.

I can reproduce it. Can you try to remove everything from that script that is not necessary to reproduce the bug? That would make debugging a bit easier.

Feb 27 2019, 3:22 PM · Python, BF Blender
dima glib (dairin0d) added a comment to D4397: Exposing BASE_HIDDEN flag to python.

By the way, some functions (rna_Object_select_get, rna_Object_visible_get, ...) are missing the view_layer parameter and always get the selected/visible/etc. state from the current context's view layer, while other functions (rna_Object_holdout_get, indirect_only_get) require to specify the view layer explicitly. Is this an oversight or an intentional design?

Feb 27 2019, 8:15 AM · Python, BF Blender: 2.8

Feb 26 2019

Richard Antalik (ISS) added a comment to T61923: Rewrote VSE Sound Crossfade script to support unlimited input strips and fix bugs.

Oh, my bad, I didn't mean to step on your toes.

Naah.

Feb 26 2019, 6:46 PM · Video Sequencer, Python, BF Blender
Jon Seigel (jseigelis) added a comment to T61923: Rewrote VSE Sound Crossfade script to support unlimited input strips and fix bugs.

Oh, my bad, I didn't mean to step on your toes.

Feb 26 2019, 7:02 AM · Video Sequencer, Python, BF Blender

Feb 25 2019

Christian Brinkmann (poor) updated the task description for T61941: Redrawing an UIList on Property Dialog crashes Blender 2.8x.
Feb 25 2019, 5:32 PM · Python, BF Blender
Christian Brinkmann (poor) updated the task description for T61941: Redrawing an UIList on Property Dialog crashes Blender 2.8x.
Feb 25 2019, 5:12 PM · Python, BF Blender
Christian Brinkmann (poor) created T61941: Redrawing an UIList on Property Dialog crashes Blender 2.8x.
Feb 25 2019, 5:05 PM · Python, BF Blender
Campbell Barton (campbellbarton) added a comment to T61915: bmesh.select_history return invalid value.

You have to loop over all elements, this won't be efficient.

Feb 25 2019, 12:43 PM · Python, BF Blender: 2.8, BF Blender
Vlad (Darcvizer) added a comment to T61915: bmesh.select_history return invalid value.

Maybe you will have advice to get the current selection? I am very worried about performance. Since the addon will work all the time in the background.

Feb 25 2019, 11:41 AM · Python, BF Blender: 2.8, BF Blender
Richard Antalik (ISS) claimed T61923: Rewrote VSE Sound Crossfade script to support unlimited input strips and fix bugs.

I also rewrote this operator in patch D4290: VSE new python operators

Feb 25 2019, 10:00 AM · Video Sequencer, Python, BF Blender
Jon Seigel (jseigelis) created T61923: Rewrote VSE Sound Crossfade script to support unlimited input strips and fix bugs.
Feb 25 2019, 7:22 AM · Video Sequencer, Python, BF Blender
Campbell Barton (campbellbarton) closed T61915: bmesh.select_history return invalid value as Invalid.

This isn't a bug, selection history only for for picking individual elements.

Feb 25 2019, 6:55 AM · Python, BF Blender: 2.8, BF Blender

Feb 24 2019

Vlad (Darcvizer) created T61915: bmesh.select_history return invalid value.
Feb 24 2019, 10:23 PM · Python, BF Blender: 2.8, BF Blender

Feb 23 2019

dima glib (dairin0d) created D4397: Exposing BASE_HIDDEN flag to python.
Feb 23 2019, 12:08 PM · Python, BF Blender: 2.8

Feb 22 2019

Richard Antalik (ISS) merged task T40663: Python can't figure out Sequencer Strip element dimensions into T54395: VSE Edit Strip - Original Dimensions shows Proxy Dimensions.
Feb 22 2019, 8:29 PM · Video Sequencer, Python, BF Blender

Feb 16 2019

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

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

Feb 14 2019

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.

Feb 14 2019, 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.

Feb 14 2019, 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.
Feb 14 2019, 3:53 AM · Python, BF Blender: 2.8

Feb 13 2019

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.

Feb 13 2019, 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.
Feb 13 2019, 4:39 PM · Python, BF Blender

Feb 12 2019

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.

Feb 12 2019, 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...)

Feb 12 2019, 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?.
Feb 12 2019, 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!

Feb 12 2019, 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/

Feb 12 2019, 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...

Feb 12 2019, 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.

Feb 12 2019, 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'?

Feb 12 2019, 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.

Feb 12 2019, 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.

Feb 12 2019, 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.
Feb 12 2019, 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)

Feb 12 2019, 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?.

?

Feb 12 2019, 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

Feb 12 2019, 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 don't think it's a bug. I think this is just a limitation of the menu system. For more custom layouts, use a popover.

Feb 12 2019, 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).

Feb 12 2019, 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.
Feb 12 2019, 11:19 AM · Python, BF Blender: 2.8
G. Krause (G.Krause) created T61443: ExportHelper crashes with exit code 3221226356 when called.
Feb 12 2019, 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..
Feb 12 2019, 9:35 AM · Python, BF Blender

Feb 10 2019

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.

Feb 10 2019, 12:57 AM · Python

Feb 9 2019

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

See Prevent compatibility regressions 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.

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

Committed rB7262ac6202eb9258293473f35a24f375f9d6f635, no need for __future__

Feb 9 2019, 3:13 AM · Python