PythonProject
ActivePublic

Members

  • This project does not have any members.

Details

Description

Python API for scripting and console editor.

Module Owner: @Campbell Barton (campbellbarton)

Recent Activity

Today

kmitov (kmitov) added a comment to T53102: Undefined symbol on "import bpy'.

Solved it by removing the 1 from all the options in CMakeCache.txt that were container AVX

Wed, Oct 18, 4:19 PM · Python, BF Blender
Julien DUROURE (julien) added a project to T53102: Undefined symbol on "import bpy': Python.
Wed, Oct 18, 2:44 PM · Python, BF Blender

Wed, Oct 4

Campbell Barton (campbellbarton) closed T52923: Bmesh Operator "diameter" attribute is not diameter but radius as Resolved by committing rBd1dfed206b34: Fix T52923: Circle diameter is in fact radius.
Wed, Oct 4, 8:48 AM · Python, BF Blender

Mon, Oct 2

Sergey Sharybin (sergey) reassigned T52923: Bmesh Operator "diameter" attribute is not diameter but radius from Sergey Sharybin (sergey) to Campbell Barton (campbellbarton).

@Campbell Barton (campbellbarton), this sounds more like your area?

Mon, Oct 2, 11:03 AM · Python, BF Blender

Fri, Sep 29

Vuk Gardašević (lijenstina) added a comment to T52564: Error registering add-on's with identical class names in 2.79 master (buildbot).

@Souvik Karmakar (souvik) the registration issue in master should be solved. Added a versioning code so it should work with 2.79 release too. Please check the next daily build. Sorry for the wait.

Fri, Sep 29, 4:40 PM · Python, Addons

Thu, Sep 28

LazyDodo (LazyDodo) merged T52922: Create Lattice Object - Last Operator - Radius is not radius but size into T52923: Bmesh Operator "diameter" attribute is not diameter but radius.
Thu, Sep 28, 5:41 PM · Python, BF Blender
LazyDodo (LazyDodo) assigned T52923: Bmesh Operator "diameter" attribute is not diameter but radius to Sergey Sharybin (sergey).

I can confirm the issue, however fixing it by either renaming the parameter or changing the way the geometry gets generated in bmo_primitive.c would cause quite some breaking for everyone (which i guess we could do for 2.8). not sure what the best way forward is here, paging @Sergey Sharybin (sergey) for guidance.

Thu, Sep 28, 5:39 PM · Python, BF Blender

Wed, Sep 27

Nikolai Janakiev (paramcookie) renamed T52923: Bmesh Operator "diameter" attribute is not diameter but radius from Bmesh Operator "diameter" attribute to Bmesh Operator "diameter" attribute is not diameter but radius.
Wed, Sep 27, 5:41 PM · Python, BF Blender
Nikolai Janakiev (paramcookie) created T52923: Bmesh Operator "diameter" attribute is not diameter but radius.
Wed, Sep 27, 4:16 PM · Python, BF Blender
Joshua Leung (aligorith) closed T52908: Drivers set on dimensions property no longer work inn 2.79 as Invalid.

Unforunately, it is no longer possible to animate/drive dimension settings, as those settings were conflicting with the scale properties and causing issues during playback.

Wed, Sep 27, 12:17 AM · Animation, Python

Tue, Sep 26

Relja Trajković (Relja) created T52908: Drivers set on dimensions property no longer work inn 2.79.
Tue, Sep 26, 2:14 PM · Animation, Python

Fri, Sep 22

Germano Cavalcante (mano-wii) updated the diff for D2734: Buffer Protocol for bgl.Buffer.
  • flags are not really being used;
Fri, Sep 22, 12:15 AM · OpenGL / Gfx, Game Python, Python

Thu, Sep 21

Germano Cavalcante (mano-wii) updated the diff for D2734: Buffer Protocol for bgl.Buffer.
  • Missed MEM_freeN(strides) if there is an error in PyBuffer_FillInfo;
Thu, Sep 21, 8:23 PM · OpenGL / Gfx, Game Python, Python
Germano Cavalcante (mano-wii) updated the diff for D2734: Buffer Protocol for bgl.Buffer.

Strides are needed when working with multidimensional array.

Thu, Sep 21, 8:05 PM · OpenGL / Gfx, Game Python, Python

Wed, Sep 20

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

Sep 18 2017

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 :

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

Sep 17 2017

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?

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

Sep 16 2017

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

Sep 16 2017, 11:41 PM · Addons, Python
John Roper (johnroper100) added a project to T46592: Custom node bug: mute mode: Addons.
Sep 16 2017, 11:34 PM · Addons, Python
John Roper (johnroper100) reopened T46592: Custom node bug: mute mode as "Open".
Sep 16 2017, 11:33 PM · Addons, Python
John Roper (johnroper100) triaged T46592: Custom node bug: mute mode as Normal priority.
Sep 16 2017, 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.

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

Sep 14 2017

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.

Sep 14 2017, 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…

Sep 14 2017, 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.

Sep 14 2017, 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? :((((((

Sep 14 2017, 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?

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

Sep 13 2017

Peter Noble (PeterN) created T52735: UI widget for pointer property with custom type causes segmentation fault.
Sep 13 2017, 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 :(

Sep 13 2017, 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.

Sep 13 2017, 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.

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

Wooo… ugly! :/

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

Sep 6 2017

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

Sep 6 2017, 6:38 PM · Python, BF Blender
Yegor (Yegor) updated the task description for T52666: [python threading] Opening a file via open_mainfile in a thread leads to crash.
Sep 6 2017, 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.
Sep 6 2017, 6:26 PM · Python, BF Blender

Sep 4 2017

Campbell Barton (campbellbarton) updated the task description for T47811: Blender 2.8x / Python, Proposed Changes.
Sep 4 2017, 3:57 PM · BF Blender: 2.8, Python

Sep 3 2017

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).
Sep 3 2017, 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).
Sep 3 2017, 2:48 PM · Python, Addons

Aug 31 2017

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

Aug 27 2017

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).
Aug 27 2017, 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).
Aug 27 2017, 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.

Aug 27 2017, 5:19 PM · Python, Addons
Mikhail Rachinskiy (alm) created T52564: Error registering add-on's with identical class names in 2.79 master (buildbot).
Aug 27 2017, 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