Page MenuHome

PythonProject
ActivePublic

Members

  • This project does not have any members.

Watchers (10)

Details

Description

Python API for scripting and console editor.

Module Owner: @Campbell Barton (campbellbarton)

Recent Activity

Yesterday

Philipp Oeser (lichtwerk) lowered the priority of T70768: Python GizmoGroups not working in VSE from Needs Triage by Developer to Confirmed, Medium.

Well, I guess this should work for the other region_types as well...

Mon, Oct 14, 2:46 PM · Python, Video Sequencer, BF Blender
Lukas W (geloescht) added a comment to T70768: Python GizmoGroups not working in VSE.

Thank you so much! Using gizmos in the preview region is probably a more common use, but I didn't know about it. So I think you can also treat this as a matter of incomplete documentation.

Mon, Oct 14, 2:03 PM · Python, Video Sequencer, BF Blender
Philipp Oeser (lichtwerk) added a project to T70768: Python GizmoGroups not working in VSE: Python.

This actually works for the preview area if you set

  • bl_space_type = 'SEQUENCE_EDITOR'
  • bl_region_type = 'PREVIEW'
Mon, Oct 14, 1:49 PM · Python, Video Sequencer, BF Blender

Fri, Oct 11

Sergey Sharybin (sergey) closed T70660: Python : "get/set" method on a keyed property crashes Blender as Resolved.

The crashes are now fixed. The rest is to be addressed in the .blend file itself.

Fri, Oct 11, 12:18 PM · Python, BF Blender

Thu, Oct 10

Marcel Plch (Dormouse) updated the diff for D6038: Blender 2.80 compatibility with Python 3.8 fix.

Add missing semicolons.

Thu, Oct 10, 1:51 PM · Platforms, Builds & Tests, Python
Brecht Van Lommel (brecht) added reviewers for D6038: Blender 2.80 compatibility with Python 3.8 fix: Campbell Barton (campbellbarton), Bastien Montagne (mont29).
Thu, Oct 10, 1:47 PM · Platforms, Builds & Tests, Python
Marcel Plch (Dormouse) created D6038: Blender 2.80 compatibility with Python 3.8 fix.
Thu, Oct 10, 1:46 PM · Platforms, Builds & Tests, Python
Sergey Sharybin (sergey) added a comment to T70660: Python : "get/set" method on a keyed property crashes Blender .

Short story: neither of update or tagging should happen from set() functions.

Thu, Oct 10, 12:40 PM · Python, BF Blender
Stanislas Paillereau (stanp) added a comment to T70660: Python : "get/set" method on a keyed property crashes Blender .

ID.update_tag(...) doesn't refresh on the viewport while scrolling in the timeline. Going to edit mode refreshes the mesh in the viewport.

Thu, Oct 10, 3:01 AM · Python, BF Blender

Wed, Oct 9

Campbell Barton (campbellbarton) lowered the priority of T70660: Python : "get/set" method on a keyed property crashes Blender from Needs Triage by Developer to Confirmed, Low.
Wed, Oct 9, 3:47 AM · Python, BF Blender
Campbell Barton (campbellbarton) assigned T70660: Python : "get/set" method on a keyed property crashes Blender to Sergey Sharybin (sergey).

Fairly sure calling view_layer.update() within a set function isn't supported.

Wed, Oct 9, 3:46 AM · Python, BF Blender
Stanislas Paillereau (stanp) added a project to T70660: Python : "get/set" method on a keyed property crashes Blender : Python.
Wed, Oct 9, 2:58 AM · Python, BF Blender

Thu, Oct 3

Campbell Barton (campbellbarton) abandoned D1613: Add set selection function to text api.

A different diff ended up being committed.

Thu, Oct 3, 10:40 PM · Python, BF Blender
Campbell Barton (campbellbarton) closed T65843: Text.current_character wrong value for certain characters as Resolved.

Fixed rB8096190d11d6caf5facfc266791a08985179688a

Thu, Oct 3, 10:36 PM · Python, BF Blender
Campbell Barton (campbellbarton) updated the task description for T63733: Python & Add-ons Module.
Thu, Oct 3, 7:18 PM · Python & Add-ons, Add-ons, Python, BF Blender
Campbell Barton (campbellbarton) updated the task description for T63733: Python & Add-ons Module.
Thu, Oct 3, 7:18 PM · Python & Add-ons, Add-ons, Python, BF Blender
Campbell Barton (campbellbarton) updated the task description for T54272: Python API for Blender's internal image functions.
Thu, Oct 3, 7:11 PM · BF Blender, Python

Wed, Oct 2

Dalai Felinto (dfelinto) updated the task description for T63733: Python & Add-ons Module.
Wed, Oct 2, 8:46 PM · Python & Add-ons, Add-ons, Python, BF Blender
Hitokage added a comment to T68303: Particle system baking not working in Python API.

I see, thanks but why doesn't this happen when baking for example smoke in the same way?

Wed, Oct 2, 9:40 AM · BF Blender, Python
Kai Jægersen (kaio) abandoned D5881: Text Editor (python): Add Text.selection_set().

https://developer.blender.org/D5952

Wed, Oct 2, 12:40 AM · Python, Text Editor

Tue, Oct 1

Sybren A. Stüvel (sybren) closed T68303: Particle system baking not working in Python API as Invalid.

The cache is empty when I open the file afterwards

Tue, Oct 1, 3:05 PM · BF Blender, Python
Campbell Barton (campbellbarton) updated the task description for T63733: Python & Add-ons Module.
Tue, Oct 1, 9:04 AM · Python & Add-ons, Add-ons, Python, BF Blender

Mon, Sep 30

Campbell Barton (campbellbarton) added a comment to D5881: Text Editor (python): Add Text.selection_set().

Right, all properties should use the character index not the byte offset.

Mon, Sep 30, 9:57 PM · Python, Text Editor
Kai Jægersen (kaio) added a comment to D5881: Text Editor (python): Add Text.selection_set().

This patch has the issue that indices can be between unicode characters.
See comments for D1613: Add set selection function to text api

Mon, Sep 30, 8:41 PM · Python, Text Editor
D5881: Text Editor (python): Add Text.selection_set() now requires changes to proceed.
Mon, Sep 30, 7:04 PM · Python, Text Editor
Campbell Barton (campbellbarton) added a comment to D5881: Text Editor (python): Add Text.selection_set().

This patch has the issue that indices can be between unicode characters.

Mon, Sep 30, 7:04 PM · Python, Text Editor

Wed, Sep 25

Philipp Oeser (lichtwerk) updated the task description for T70255: Filebrowser (python): Setting bookmarks_active crash.
Wed, Sep 25, 10:18 PM · User Interface, Python, BF Blender
Philipp Oeser (lichtwerk) added a revision to T70255: Filebrowser (python): Setting bookmarks_active crash: D5898: Fix T70255: Filebrowser (python): Setting bookmarks_active crash.
Wed, Sep 25, 10:15 PM · User Interface, Python, BF Blender
Philipp Oeser (lichtwerk) added projects to T70255: Filebrowser (python): Setting bookmarks_active crash: Python, User Interface.

Can confirm.
This was always crashing, not really designed for usage outside of the FileBrowser itself...

Wed, Sep 25, 9:51 PM · User Interface, Python, BF Blender

Tue, Sep 24

Peter Fog (tintwotin) added a comment to D1613: Add set selection function to text api.

This patch deals with set selection: D5881

Tue, Sep 24, 10:57 PM · Python, BF Blender
-- (zgorg) added a comment to D5881: Text Editor (python): Add Text.selection_set().

so now it would be possible to get back selection to what it was before the last undo using this

Tue, Sep 24, 4:19 PM · Python, Text Editor
Kai Jægersen (kaio) created D5881: Text Editor (python): Add Text.selection_set().
Tue, Sep 24, 11:09 AM · Python, Text Editor
Colin Basnett (cmbasnett) added a revision to T54272: Python API for Blender's internal image functions: D5879: Fixed a bug where the exception message for imbuf.load would represent the filename as garbage bytes.
Tue, Sep 24, 1:53 AM · BF Blender, Python

Mon, Sep 23

Campbell Barton (campbellbarton) closed T61443: ExportHelper crashes with exit code 3221226356 when called as Resolved.
Mon, Sep 23, 10:41 AM · Python, BF Blender: 2.8
Campbell Barton (campbellbarton) added a comment to T61443: ExportHelper crashes with exit code 3221226356 when called.

Fixed rB9e12d762a27f: Fix crash running an operator from a popup,

Mon, Sep 23, 10:41 AM · Python, BF Blender: 2.8
Campbell Barton (campbellbarton) added a comment to D5857: T54272: Added planes and channels as read-only property for ImBuf.

Thanks, committed rB73a6fcfa80020615f081b75aeb6a6ed90405097a

Mon, Sep 23, 3:56 AM · Python, Images & Movies
D5857: T54272: Added planes and channels as read-only property for ImBuf is now accepted and ready to land.
Mon, Sep 23, 3:55 AM · Python, Images & Movies

Sat, Sep 21

Shane Ambler (sambler) added a comment to T54314: Contents of "Viewer Node" image block do not get updated .

@Amir (Warrior) I checked with a master build before my previous comment. I hadn't tried in 2.79 for a while but just checked and it hasn't changed, not that any fixes will be done to 2.79.

Sat, Sep 21, 3:31 AM · Python, Nodes, Cycles, BF Blender

Fri, Sep 20

Philipp Oeser (lichtwerk) added projects to T53845: Clearing followed by setting a listbox created by UILayout.prop_search while keeping the mouse on the listbox crashes Blender: User Interface, Python.
Fri, Sep 20, 12:18 PM · Python, User Interface, BF Blender
Philipp Oeser (lichtwerk) added projects to T63662: Python API: Huge performance degradation in Blender 2.8: Python, Dependency Graph.
Fri, Sep 20, 10:53 AM · Dependency Graph, Python, BF Blender
Colin Basnett (cmbasnett) added a revision to T54272: Python API for Blender's internal image functions: D5857: T54272: Added planes and channels as read-only property for ImBuf.
Fri, Sep 20, 5:25 AM · BF Blender, Python
Colin Basnett (cmbasnett) added a task to D5857: T54272: Added planes and channels as read-only property for ImBuf: T54272: Python API for Blender's internal image functions.
Fri, Sep 20, 5:25 AM · Python, Images & Movies
Colin Basnett (cmbasnett) created D5857: T54272: Added planes and channels as read-only property for ImBuf.
Fri, Sep 20, 5:18 AM · Python, Images & Movies

Thu, Sep 19

Amir (Warrior) added a comment to T54314: Contents of "Viewer Node" image block do not get updated .

@Shane Ambler (sambler) I haven't tried this in 2.8x. Did you try it with both 2.79x and 2.8x?

Thu, Sep 19, 6:53 PM · Python, Nodes, Cycles, BF Blender
Shane Ambler (sambler) added a comment to T54314: Contents of "Viewer Node" image block do not get updated .

@Amir (Warrior) No. Just tried with 741d7d60ed90

Thu, Sep 19, 6:37 AM · Python, Nodes, Cycles, BF Blender

Wed, Sep 18

Colin Basnett (cmbasnett) added a comment to T54272: Python API for Blender's internal image functions.
Wed, Sep 18, 11:02 PM · BF Blender, Python

Tue, Sep 17

Amir (Warrior) added a comment to T54314: Contents of "Viewer Node" image block do not get updated .

@Jeroen Bakker (jbakker) Does this fix have anything to do with this issue?

Tue, Sep 17, 10:39 PM · Python, Nodes, Cycles, BF Blender
Dalai Felinto (dfelinto) updated the task description for T63733: Python & Add-ons Module.
Tue, Sep 17, 6:11 PM · Python & Add-ons, Add-ons, Python, BF Blender

Mon, Sep 16

Campbell Barton (campbellbarton) closed D5804: T54272: Added filename as read-only property to ImBuf.
Mon, Sep 16, 2:45 AM · BF Blender, Python
D5804: T54272: Added filename as read-only property to ImBuf is now accepted and ready to land.

Thanks, committed rB6cb1e38c87168b0ab83ca907bcf537d50c263454

Mon, Sep 16, 2:45 AM · BF Blender, Python