PythonProject
ActivePublic

Members

  • This project does not have any members.

Properties

Description

Python API for scripting and console editor.

Module Owner: @Campbell Barton (campbellbarton)

Recent Activity

Yesterday

Sybren A. Stüvel (sybren) removed a reviewer for D2734: Buffer Protocol for bgl.Buffer: Python.
Wed, Sep 20, 11:30 PM · OpenGL / Gfx, Game Python, Python
Germano Cavalcante (mano-wii) edited reviewers for D2734: Buffer Protocol for bgl.Buffer, added: Porteries Tristan (panzergame), Ulysse Martin (youle), Campbell Barton (campbellbarton); removed: Game Python, Game Engine.

@Campbell Barton (campbellbarton), could you take a look, too? It seems like you know the subject well (T52827)

Wed, Sep 20, 8:33 PM · OpenGL / Gfx, Game Python, Python
Ulysse Martin (youle) added a comment to D2734: Buffer Protocol for bgl.Buffer.

Hello, I tested with most of my files using bgl and it worked fine for me. I had only 1 file to test with bge.texture and bgl however. But this sounds ok to me.

Wed, Sep 20, 8:13 PM · OpenGL / Gfx, Game Python, Python
Germano Cavalcante (mano-wii) updated the diff for D2734: Buffer Protocol for bgl.Buffer.

I undo some of my changes. It may be best to leave the original Buffer structure untouched.

Wed, Sep 20, 8:12 PM · OpenGL / Gfx, Game Python, Python
Thomas Szepe (hg1) updated subscribers of D2734: Buffer Protocol for bgl.Buffer.

I added Tristan Porteries (panzergame), Ulysse Martin (youle) from the UPBGE team. I think the have more experience in this kind of things.

Wed, Sep 20, 6:28 PM · OpenGL / Gfx, Game Python, Python
Germano Cavalcante (mano-wii) updated the diff for D2734: Buffer Protocol for bgl.Buffer.

It really makes sense bgl.Buffer to have a Buffer Protocol.
I made some changes to the code.

Wed, Sep 20, 4:32 AM · OpenGL / Gfx, Game Python, Python
Germano Cavalcante (mano-wii) commandeered D2734: Buffer Protocol for bgl.Buffer.
Wed, Sep 20, 4:31 AM · OpenGL / Gfx, Game Python, Python

Mon, Sep 18

Souvik Karmakar (souvik) added a comment to T52564: Error registering add-on's with identical class names in 2.79 master (buildbot).

Hi guys .. having issue when I enable 'Amaranth Toolset' .. any solution here??
Error code :

Mon, Sep 18, 9:03 AM · Python, Addons

Sun, Sep 17

John Roper (johnroper100) added a comment to T46592: Custom node bug: mute mode.

I added code that updated the node.mute value however, nothing happens. I'm guessing it is that the problem above still exists?

Sun, Sep 17, 12:01 AM · Addons, Python

Sat, Sep 16

John Roper (johnroper100) added a comment to T46592: Custom node bug: mute mode.

Is this the way to set that property? https://docs.blender.org/api/current/bpy.types.Node.html?highlight=mute#bpy.types.Node.mute

Sat, Sep 16, 11:41 PM · Addons, Python
John Roper (johnroper100) added a project to T46592: Custom node bug: mute mode: Addons.
Sat, Sep 16, 11:34 PM · Addons, Python
John Roper (johnroper100) reopened T46592: Custom node bug: mute mode as "Open".
Sat, Sep 16, 11:33 PM · Addons, Python
John Roper (johnroper100) triaged T46592: Custom node bug: mute mode as "Normal" priority.
Sat, Sep 16, 11:33 PM · Addons, Python
John Roper (johnroper100) added a comment to T46592: Custom node bug: mute mode.

Is there any plan to work on this because this would be extremely useful.

Sat, Sep 16, 11:32 PM · Addons, Python

Thu, Sep 14

Peter Noble (PeterN) added a comment to T52735: UI widget for pointer property with custom type causes segmentation fault.

Maybe I've got the wrong idea but the impression I got was that this change to PointerProperty was useful because it allowed search boxes to be more specific than just materials, objects, node trees etc... I can't think of any reason the user would ever need a search box that allows selecting of all node tree types but it would be useful to only allow a specific type of node group.

Thu, Sep 14, 2:02 PM · Python, BF Blender
Bastien Montagne (mont29) updated subscribers of T52735: UI widget for pointer property with custom type causes segmentation fault.

Ok… still, don’t think that was a good idea, like, at all… ID types are not virtual stuff like operators or render engines, they are data, stored in Blender file, they are kind of root of everything in Blender, so faking their subclassing in py sounds like a nice can of worms to me… Would have been so much cleaner to have registrable NodeTreeType classes instead! Anyway…

Thu, Sep 14, 10:58 AM · Python, BF Blender
Sergey Sharybin (sergey) added a comment to T52735: UI widget for pointer property with custom type causes segmentation fault.

@Bastien Montagne (mont29), isn't it how custom node trees are supposed to work? You kind of subclass there.
Would be nice to at least prevent crashes, perhaps.

Thu, Sep 14, 10:19 AM · Python, BF Blender
Bastien Montagne (mont29) added a comment to T52735: UI widget for pointer property with custom type causes segmentation fault.

@Sergey Sharybin (sergey) yes, but… wait… since when is it valid to subclass an ID type? Subclassing ID types in Python… who ever allowed such an evil scheme? :((((((

Thu, Sep 14, 10:15 AM · Python, BF Blender
Sergey Sharybin (sergey) assigned T52735: UI widget for pointer property with custom type causes segmentation fault to Bastien Montagne (mont29).

@Bastien Montagne (mont29), is it something related on recent ID custom properties implemented for 2.79?

Thu, Sep 14, 9:42 AM · Python, BF Blender

Wed, Sep 13

Peter Noble (PeterN) created T52735: UI widget for pointer property with custom type causes segmentation fault.
Wed, Sep 13, 11:00 PM · Python, BF Blender
Bastien Montagne (mont29) closed T52720: Matrix lost many float's precision in last column only? as "Invalid".

pfff… no actually, you nailed to point @Brecht Van Lommel (brecht)! I probably need to wake up a bit more here :(

Wed, Sep 13, 12:09 PM · Python, BF Blender
Brecht Van Lommel (brecht) reopened T52720: Matrix lost many float's precision in last column only? as "Open".

@Bastien Montagne (mont29), didn't see your reply before I commented, if you think there's a bug here will let you handle it.

Wed, Sep 13, 12:06 PM · Python, BF Blender
Brecht Van Lommel (brecht) closed T52720: Matrix lost many float's precision in last column only? as "Archived".

This is normal. Single precision floats only have 6-7 digits of precision, so for large numbers like in the last column there will be loss of precision. Python uses double precision but for Blender itself this would have a significant performance / memory impact.

Wed, Sep 13, 12:04 PM · Python, BF Blender
Bastien Montagne (mont29) claimed T52720: Matrix lost many float's precision in last column only?.

Wooo… ugly! :/

Wed, Sep 13, 12:01 PM · Python, BF Blender

Wed, Sep 6

Campbell Barton (campbellbarton) closed T52666: [python threading] Opening a file via open_mainfile in a thread leads to crash as "Invalid".

This isn't supported https://docs.blender.org/api/blender_python_api_current/info_gotcha.html#strange-errors-using-threading-module

Wed, Sep 6, 6:38 PM · Python, BF Blender
Yegor (Yegor) edited the description of T52666: [python threading] Opening a file via open_mainfile in a thread leads to crash.
Wed, Sep 6, 6:34 PM · Python, BF Blender
Yegor (Yegor) added a project to T52666: [python threading] Opening a file via open_mainfile in a thread leads to crash: Python.
Wed, Sep 6, 6:26 PM · Python, BF Blender

Mon, Sep 4

Campbell Barton (campbellbarton) edited the description of T47811: Blender 2.8x / Python, Proposed Changes.
Mon, Sep 4, 3:57 PM · BF Blender: 2.8, Python

Sun, Sep 3

Vuk Gardašević (lijenstina) merged T52621: error on addon Blender Cloud 1.7.3 into T52564: Error registering add-on's with identical class names in 2.79 master (buildbot).
Sun, Sep 3, 3:34 PM · Python, Addons
Vuk Gardašević (lijenstina) merged T52638: Loop tools not activating into T52564: Error registering add-on's with identical class names in 2.79 master (buildbot).
Sun, Sep 3, 2:48 PM · Python, Addons

Thu, Aug 31

Bastien Montagne (mont29) merged T52595: looptools into T52564: Error registering add-on's with identical class names in 2.79 master (buildbot).
Thu, Aug 31, 10:38 AM · Python, Addons

Sun, Aug 27

Vuk Gardašević (lijenstina) merged T52565: Loop Tools Plugin not working into T52564: Error registering add-on's with identical class names in 2.79 master (buildbot).
Sun, Aug 27, 5:58 PM · Python, Addons
Brendon Murphy (meta-androcto) renamed T52564: Error registering add-on's with identical class names in 2.79 master (buildbot) from "Error registering add-on's with identical class names" to "Error registering add-on's with identical class names in 2.79 master (buildbot)".
Sun, Aug 27, 5:20 PM · Python, Addons
Brendon Murphy (meta-androcto) added a comment to T52564: Error registering add-on's with identical class names in 2.79 master (buildbot).

hi @Mikhail Rachinskiy (alm)
the use of duplicate class names has been restricted, we plan to, after 2.79 release, to address these issues.
please note these issues will not be in 2.79 release but are in nightly builds.
it's good to be aware of this issue, i'm trying to keep addons repo clean for 2.79 release, then come in and fix all the issues in nightly, whilst not polluting addons master with fixes that might be conflicting with release.
not closing the task as we may for future ref.

Sun, Aug 27, 5:19 PM · Python, Addons
Mikhail Rachinskiy (alm) created T52564: Error registering add-on's with identical class names in 2.79 master (buildbot).
Sun, Aug 27, 5:09 PM · Python, Addons

Aug 17 2017

Joshua Leung (aligorith) closed T52401: Default Shape Key ID in Keying Set files broken - TypeError: 'builtin_function_or_method' object is not subscriptable as "Resolved" by committing rB743bacaa6f4e: Fix T52401: "Export Keying Set" operator generated incorrect ID's for shapekeys.
Aug 17 2017, 3:04 PM · Python, Animation, BF Blender
Joshua Leung (aligorith) claimed T52401: Default Shape Key ID in Keying Set files broken - TypeError: 'builtin_function_or_method' object is not subscriptable.
Aug 17 2017, 1:03 PM · Python, Animation, BF Blender

Aug 16 2017

Vuk Gardašević (lijenstina) added a project to T52288: Cut/paste to the python console reports indentation errors when empty lines in code: Python.
Aug 16 2017, 1:10 PM · Python

Aug 15 2017

Andres Stephens (Draise) created T52401: Default Shape Key ID in Keying Set files broken - TypeError: 'builtin_function_or_method' object is not subscriptable.
Aug 15 2017, 2:19 AM · Python, Animation, BF Blender

Aug 11 2017

Bastien Montagne (mont29) closed T52244: Crash on OSX and Windows 8.1 when using boolean difference modifier via Python as "Archived".

Thanks, so I guess we can consider the initial issue as fixed.

Aug 11 2017, 2:33 PM · Mesh Modeling, BF Blender, Python

Aug 8 2017

Sybren A. Stüvel (sybren) closed T46329: [PY API Documentation] bpy.app.handlers.scene_update_{pre,post} documentation needs clarification as "Resolved" by committing rB01ee88563b64: Fix T46329: scene_update_{pre,post} doc needs clarification.
Aug 8 2017, 3:17 PM · Python, BF Blender

Aug 2 2017

Imran Peerbhai (ipeerbhai) added a comment to T52244: Crash on OSX and Windows 8.1 when using boolean difference modifier via Python.

I tested the following:
retested script on blender 2.79 from nightly buildbot.
BMESH fails -- get incorrect mesh ( mesh ends up with large, non-manifold hole ).
CARVE works, no crash on OSX.

Aug 2 2017, 8:07 PM · Mesh Modeling, BF Blender, Python
Bastien Montagne (mont29) renamed T52244: Crash on OSX and Windows 8.1 when using boolean difference modifier via Python from "Crash on OSX and Windows 8.1 when using difference modifier via Python" to "Crash on OSX and Windows 8.1 when using boolean difference modifier via Python".
Aug 2 2017, 9:44 AM · Mesh Modeling, BF Blender, Python
Bastien Montagne (mont29) triaged T52244: Crash on OSX and Windows 8.1 when using boolean difference modifier via Python as "Incomplete" priority.

Please always try the latest build from our buildbot.

Aug 2 2017, 9:43 AM · Mesh Modeling, BF Blender, Python

Aug 1 2017

Imran Peerbhai (ipeerbhai) created T52244: Crash on OSX and Windows 8.1 when using boolean difference modifier via Python.
Aug 1 2017, 11:52 PM · Mesh Modeling, BF Blender, Python

Jul 28 2017

Campbell Barton (campbellbarton) closed T52195: Sculpt API can no longer be used to draw strokes via python as "Resolved" by committing rBf3782c0a9e44: Fix T52195: Sculpt from Python fails.
Jul 28 2017, 9:52 PM · BF Blender: Regressions, Python, Sculpting and Painting, BF Blender
Sergey Sharybin (sergey) triaged T52195: Sculpt API can no longer be used to draw strokes via python as "Normal" priority.

Can get the script to work in 2.76b, but not in 2.77a.

Jul 28 2017, 10:58 AM · BF Blender: Regressions, Python, Sculpting and Painting, BF Blender

Jul 27 2017

Vuk Gardašević (lijenstina) closed T49919: Invoke popup menu has issue with operators that have custom keymaps as "Resolved".

Should be resolved by the previous commit.

Jul 27 2017, 11:05 PM · User Interface, Python, BF Blender
Vuk Gardašević (lijenstina) added a commit to T49919: Invoke popup menu has issue with operators that have custom keymaps: rB920bff522483: Fix button text overlapping with shortcut text in popups.
Jul 27 2017, 11:04 PM · User Interface, Python, BF Blender

Jul 26 2017

Tom Musgrove (letterrip) added a project to T52195: Sculpt API can no longer be used to draw strokes via python: BF Blender: Regressions.
Jul 26 2017, 7:25 PM · BF Blender: Regressions, Python, Sculpting and Painting, BF Blender