Page MenuHome

Python APIProject
ActivePublic

Details

Description

This project includes the Python API, Add-ons, the console the text editor and more.

Important links

Contacts

Sub-Modules:


Long-Term Roadmap

Python & Addons

Recent Activity

Today

Campbell Barton (campbellbarton) closed T93410: OSX/Win Blender 2.93.6, 3.0, 3.1 crashes/"breaks" when starting modal operator from a popover if header is hidden as Resolved by committing rB8f69c914080a: Fix T93410: Crash hiding a region from Python used by a popover.
Thu, Dec 2, 6:09 AM · Python API, BF Blender
Daniele De Luca (sparazza) added a comment to T90165: Outliner: Linking object hierachies to a collection is buggy.

Also confirm.. I've seen the same behaviour while creating a 3 object hierarchy, having some into a collection and the others in another collection. I think is related to the same linking problem.
By reloading the file a bunch of times, the inner children will be shown out from the parent relation (at random).

Thu, Dec 2, 12:14 AM · User Interface, Python API, BF Blender

Yesterday

Andrei Tihonovschi (atgote) added a comment to T93478: Impossible to run Modal operator with simultaneously open props dialog (Blender crashes).

Just as an example - choose a "modifier" from Enum field which influences the operator action - and user can check the result before finalizing the operator execution (somewhat like with Undo/Redo dialog)

Wed, Dec 1, 4:41 PM · Python API, BF Blender
Germano Cavalcante (mano-wii) changed the status of T93478: Impossible to run Modal operator with simultaneously open props dialog (Blender crashes) from Needs Triage to Confirmed.

Thanks for the report, I can confirm the crash with the example operator.
But it doesn't seem to be conventional to use invoke_props_dialog and modal_handler_add in the same operator.
The two modal operations are performed at the same time and both can free the operator, causing the one trying to use the operator later to crash.

Wed, Dec 1, 4:21 PM · Python API, BF Blender
Jeroen Bakker (jbakker) closed D13435: Add layer and pass index parameters to rna_Image_gl_load.
Wed, Dec 1, 2:59 PM · Images & Movies, Python API
Paul Golter (paulgolter) updated the diff for D13435: Add layer and pass index parameters to rna_Image_gl_load.

Corrected naming as noted by Campbell.

Wed, Dec 1, 2:37 PM · Images & Movies, Python API
Campbell Barton (campbellbarton) accepted D13435: Add layer and pass index parameters to rna_Image_gl_load.

LGTM, minor note on naming.

Wed, Dec 1, 12:35 PM · Images & Movies, Python API
Jesse Yurkovich (deadpin) closed T93499: bpy.types.Area is not a subclasses of bpy.types.ID as Archived.

Area is not an ID type so this is expected.

Wed, Dec 1, 10:56 AM · Python API, BF Blender
Paul Golter (paulgolter) requested review of D13435: Add layer and pass index parameters to rna_Image_gl_load.
Wed, Dec 1, 10:49 AM · Images & Movies, Python API
Aaron Carlisle (Blendify) closed D12984: Cleanup: Remove hack to hide pre 2.8 addons in the user preferences.
Wed, Dec 1, 4:56 AM · Python API, BF Blender
Aaron Carlisle (Blendify) retitled D12984: Cleanup: Remove hack to hide pre 2.8 addons in the user preferences from Remove hack to hide pre 2.8 addons in the user preferences to Cleanup: Remove hack to hide pre 2.8 addons in the user preferences.
Wed, Dec 1, 4:53 AM · Python API, BF Blender
Campbell Barton (campbellbarton) accepted D12984: Cleanup: Remove hack to hide pre 2.8 addons in the user preferences.
Wed, Dec 1, 4:50 AM · Python API, BF Blender

Tue, Nov 30

RMK (r.m.k) added a watcher for Python API: RMK (r.m.k).
Tue, Nov 30, 8:03 AM
RMK (r.m.k) added a project to T93499: bpy.types.Area is not a subclasses of bpy.types.ID: Python API.
Tue, Nov 30, 7:59 AM · Python API, BF Blender
Joshua Knauber (JoshuaKnauber) added a comment to T88986: Erro in get_type_hints when registering text as module (bug in Python, fix pending).

Is there any update on this? I guess this is fixed with python 3.10 to get back to Will's question of when this version will be in blender?

Tue, Nov 30, 1:24 AM · Python API, BF Blender

Mon, Nov 29

Jon Denning (gfxcoder) added a comment to T93410: OSX/Win Blender 2.93.6, 3.0, 3.1 crashes/"breaks" when starting modal operator from a popover if header is hidden.

Ok. This version of the code has the following changes:

Mon, Nov 29, 8:16 PM · Python API, BF Blender
Jon Denning (gfxcoder) added a comment to T93410: OSX/Win Blender 2.93.6, 3.0, 3.1 crashes/"breaks" when starting modal operator from a popover if header is hidden.

Adding to the very last item (commenting out the show_region_header = False line): I did figure out that passing through the MOUSEMOVE events will allow the popover to disappear once the mouse moves off of the panel (does not require an additional click).

Mon, Nov 29, 7:53 PM · Python API, BF Blender

Fri, Nov 26

Jon Denning (gfxcoder) added a project to T93410: OSX/Win Blender 2.93.6, 3.0, 3.1 crashes/"breaks" when starting modal operator from a popover if header is hidden: Python API.
Fri, Nov 26, 7:42 PM · Python API, BF Blender

Thu, Nov 25

Sybren A. Stüvel (sybren) closed T93372: Add possibility to edit F-Curve modifier toggles via Python as Archived.

Please don't link to external websites. Just like on Stack Exchange, such links are fine as addition to the explanation, but the explanation of the problem should be here in the report itself.

Thu, Nov 25, 1:11 PM · Blender Asset Bundle, Python API
MD (green_entity) created T93372: Add possibility to edit F-Curve modifier toggles via Python.
Thu, Nov 25, 12:52 PM · Blender Asset Bundle, Python API

Tue, Nov 23

Clément Foucault (fclem) closed T89204: GPUOffscreen.draw_view3d() is 25 to 50 times slower as Resolved by committing rBbba6fe83e27e: Fix T89204: slow repeated rendering with GPUOffscreen.draw_view3d..
Tue, Nov 23, 2:09 PM · Python API, BF Blender
Clément Foucault (fclem) closed D13235: Fix T89204: slow repeated rendering with GPUOffscreen.draw_view3d..
Tue, Nov 23, 2:09 PM · EEVEE & Viewport, Python API
Jeroen Bakker (jbakker) closed D13327: Documentation: Remove deprecated glColor* from bgl module..

Closed by committing rB6ab3349bd44e: Documentation: Remove deprecated glColor* from bgl module.

Tue, Nov 23, 1:07 PM · BF Blender (3.0), EEVEE & Viewport, Python API, Documentation
Clément Foucault (fclem) accepted D13327: Documentation: Remove deprecated glColor* from bgl module..
Tue, Nov 23, 11:09 AM · BF Blender (3.0), EEVEE & Viewport, Python API, Documentation
Jeroen Bakker (jbakker) added a reviewer for D13327: Documentation: Remove deprecated glColor* from bgl module.: Clément Foucault (fclem).
Tue, Nov 23, 11:03 AM · BF Blender (3.0), EEVEE & Viewport, Python API, Documentation
Jeroen Bakker (jbakker) added projects to D13327: Documentation: Remove deprecated glColor* from bgl module.: Documentation, Python API, EEVEE & Viewport.
Tue, Nov 23, 11:03 AM · BF Blender (3.0), EEVEE & Viewport, Python API, Documentation

Mon, Nov 22

Philipp Oeser (lichtwerk) added a revision to T88047: Python API - Scale parameter isn't taken into account when adding certain primitives: D12964: Fix T92401: bpy.ops.object.text_add missing "scale" keyword.
Mon, Nov 22, 1:36 PM · Python API, Modeling, BF Blender
Philipp Oeser (lichtwerk) merged T93284: Python custom empty scale overwrite to 1,1,1 into T88047: Python API - Scale parameter isn't taken into account when adding certain primitives.
Mon, Nov 22, 1:35 PM · Python API, Modeling, BF Blender
Philipp Oeser (lichtwerk) merged T93288: creating a simple empty with scale value does not scale into T88047: Python API - Scale parameter isn't taken into account when adding certain primitives.
Mon, Nov 22, 1:34 PM · Python API, Modeling, BF Blender
Philipp Oeser (lichtwerk) merged task T92401: bpy.ops.object.text_add missing "scale" keyword into T88047: Python API - Scale parameter isn't taken into account when adding certain primitives.
Mon, Nov 22, 1:33 PM · Python API, Modeling, BF Blender
Philipp Oeser (lichtwerk) merged T92401: bpy.ops.object.text_add missing "scale" keyword into T88047: Python API - Scale parameter isn't taken into account when adding certain primitives.
Mon, Nov 22, 1:33 PM · Python API, Modeling, BF Blender
Philipp Oeser (lichtwerk) added a comment to T92401: bpy.ops.object.text_add missing "scale" keyword.

I think it makes sense to track these all in T88047: Python API - Scale parameter isn't taken into account when adding certain primitives, so will merge these reports.

Mon, Nov 22, 1:33 PM · Python API, Modeling, BF Blender
Philipp Oeser (lichtwerk) updated the task description for T88047: Python API - Scale parameter isn't taken into account when adding certain primitives.
Mon, Nov 22, 1:33 PM · Python API, Modeling, BF Blender
Philipp Oeser (lichtwerk) renamed T88047: Python API - Scale parameter isn't taken into account when adding certain primitives from Python API - Scale parameter isn't taken into account when adding primitive meshes to Python API - Scale parameter isn't taken into account when adding certain primitives.
Mon, Nov 22, 1:28 PM · Python API, Modeling, BF Blender

Sun, Nov 21

Raimund Klink (Raimund58) updated subscribers of T88846: Blender does no longer marks an error in the text console .

I think this can be closed since it is again marking the text in Blender 3.0.
Any objections?
Maybe @Campbell Barton (campbellbarton) ?

Sun, Nov 21, 2:28 PM · Text Editor, Python API, BF Blender
Raimund Klink (Raimund58) added a project to T88846: Blender does no longer marks an error in the text console : Text Editor.
Sun, Nov 21, 2:23 PM · Text Editor, Python API, BF Blender

Fri, Nov 19

Patrice (metal3d) added a comment to T73024: Official built of Blender crashes with opencl-intel package installed - not if I compile Blender myself or using fedora package.
Fri, Nov 19, 4:55 PM · Render & Cycles, Restricted Project, Rendering, Add-ons (Community), Python API
Philipp Oeser (lichtwerk) changed the status of T93188: Python API : OBJECT_OT_convert can't be fully abstracted from context with override from Needs Triage to Needs Information from Developers.

Regarding the Convert operator: I think it's true, this cannot be fully abstracted with override context.

Fri, Nov 19, 1:38 PM · Python API, BF Blender
Thomas Dinges (dingto) closed T73024: Official built of Blender crashes with opencl-intel package installed - not if I compile Blender myself or using fedora package as Archived.

OpenCL rendering support was removed in Blender 3.0.
The combination of the limited Cycles kernel implementation, driver bugs, and stalled OpenCL standard
has made maintenance too difficult. Thanks for your report, but it's unlikely that there will be further fixes for OpenCL.

Fri, Nov 19, 10:38 AM · Render & Cycles, Restricted Project, Rendering, Add-ons (Community), Python API

Thu, Nov 18

Félix (Miadim) added a comment to D12228: CMake: option to install Python headers.

You would have also had to tell your users to install a compiler (Visual Studio, Xcode, , ...) and CMake for that to work though. And then they might run into various configuration or version issues with that.

Thu, Nov 18, 9:38 AM · Python API

Wed, Nov 17

Brecht Van Lommel (brecht) added a comment to D12228: CMake: option to install Python headers.

Therefore my use case is: It would have been very helpful to have the python headers directly into official Blender at this time, because I could have told the users of VSE IO to pip install opentimelineio without wondering about the version. I had to keep them on an outdated version for a long time.

Wed, Nov 17, 8:50 PM · Python API
Clément Foucault (fclem) accepted D13235: Fix T89204: slow repeated rendering with GPUOffscreen.draw_view3d..

Thanks! I will commit the patch.

Wed, Nov 17, 8:40 PM · EEVEE & Viewport, Python API
Christian Stolze (regcs) added a comment to D13235: Fix T89204: slow repeated rendering with GPUOffscreen.draw_view3d..

@Clément Foucault (fclem) @Jeroen Bakker (jbakker) Is the formatting ok or does the patch require any other modifications? If everything is fine, it would be great if you could accept the patch because Brecht signed of and assigned you as reviewer. :)

Wed, Nov 17, 8:30 PM · EEVEE & Viewport, Python API
Félix (Miadim) added a comment to D12228: CMake: option to install Python headers.

@Sybren A. Stüvel (sybren), I did not talk about loading the module but pip installing it. I cannot install from master on windows neither ubuntu. Getting a big long error, I'm not sure this is the right place to put it unless you ask me to (or I'm pretty sure you'll get the same using my command).

Wed, Nov 17, 8:25 PM · Python API
Erik Abrahamsson (erik85) added a comment to D13253: Outliner: Publish on msgbus on drag-drop.

I don't think there's a nice way to make it work with 'M' (bpy.ops.object.move_to_collection).
I can send a message that the destination is updated, but there's no source as the code removes all links in all collections the object is in.. Is that really expected?

Wed, Nov 17, 7:55 PM · Python API
Bastien Montagne (mont29) added a comment to D13253: Outliner: Publish on msgbus on drag-drop.

In principle publishing such changes to the message bus seems fine. But I’m not sure if this actually solves the issue at hand or if it’s sufficient. The collection hierarchy can be modified in other ways than drag & drop, e.g. using the M key to move objects between collections.

That's true, maybe I could bring the context to BKE_collection_move and BKE_collection_object_move and send the message from there? Should atleast include the 'M'-key. Are there other ways too from the UI?

Wed, Nov 17, 4:10 PM · Python API
Erik Abrahamsson (erik85) added a comment to D13253: Outliner: Publish on msgbus on drag-drop.

In principle publishing such changes to the message bus seems fine. But I’m not sure if this actually solves the issue at hand or if it’s sufficient. The collection hierarchy can be modified in other ways than drag & drop, e.g. using the M key to move objects between collections.

Wed, Nov 17, 3:02 PM · Python API
Julian Eisel (Severin) added a comment to D13253: Outliner: Publish on msgbus on drag-drop.

In principle publishing such changes to the message bus seems fine. But I’m not sure if this actually solves the issue at hand or if it’s sufficient. The collection hierarchy can be modified in other ways than drag & drop, e.g. using the M key to move objects between collections.

Wed, Nov 17, 1:53 PM · Python API
Bastien Montagne (mont29) accepted D13253: Outliner: Publish on msgbus on drag-drop.

Looks fine to me, but am not an expert of the msgbus system, so adding @Campbell Barton (campbellbarton) here.

Wed, Nov 17, 8:53 AM · Python API
Ryan Schultz (theoryshaw) added a comment to D13253: Outliner: Publish on msgbus on drag-drop.

related conversations...

Wed, Nov 17, 1:37 AM · Python API