Page MenuHome

Campbell Barton (campbellbarton)
EngineeringAdministrator

Projects (29)

User Details

User Since
Jan 30 2005, 5:47 PM (840 w, 1 d)
Roles
Administrator

Recent Activity

Today

Campbell Barton (campbellbarton) added a comment to T86376: Memory surges when editing a shape key.

@Guilherme (Yerus) please make steps to redo this error (or make a version of your file that you can share) - including steps to redo the error with that.

Tue, Mar 9, 4:55 AM · BF Blender
Campbell Barton (campbellbarton) added a comment to T86191: Add Handlers to Operators..

So personally I'd rather make sure bpy.msgbus is a reliable way to respond to changes to Blender data, which I think covers many of the cases this kind of feature would end up being used for.

It could be that I have just not found the correct use-case for msgbus, but from my own experiences I have never been able to use it for what I need it for. For example- if i want to subscribe to object.location, my callback doesn't fire if the user moved the object in the viewport because it doesn't go through RNA.

Tue, Mar 9, 4:52 AM · Core
Campbell Barton (campbellbarton) added a comment to D10629: Python version of `make_source_archive.sh`.

The

Tue, Mar 9, 12:53 AM

Yesterday

Campbell Barton (campbellbarton) requested changes to D10629: Python version of `make_source_archive.sh`.

Looks good.

Mon, Mar 8, 4:02 PM
Campbell Barton (campbellbarton) closed D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.

committed rB9e0921497912cbfe9846358d1cb1220f88315f80, rBcfd11af9819433c5b83359b72f002fcd59fdc1ab

Mon, Mar 8, 3:06 PM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) committed rB9e0921497912: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading (authored by Campbell Barton (campbellbarton)).
PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading
Mon, Mar 8, 3:05 PM
Campbell Barton (campbellbarton) committed rBcfd11af98194: readfile: add id_tag_extra argument (authored by Campbell Barton (campbellbarton)).
readfile: add id_tag_extra argument
Mon, Mar 8, 3:05 PM
Campbell Barton (campbellbarton) closed T86384: Add to selection with Ctrl+left click requires additional click as Resolved by committing rB09a8f5ebcab4: Fix T86384: Click detection fails in some cases with modifiers.
Mon, Mar 8, 2:45 PM · User Interface, BF Blender
Campbell Barton (campbellbarton) committed rB09a8f5ebcab4: Fix T86384: Click detection fails in some cases with modifiers (authored by Campbell Barton (campbellbarton)).
Fix T86384: Click detection fails in some cases with modifiers
Mon, Mar 8, 2:45 PM
Campbell Barton (campbellbarton) committed rB171ba4243941: Fix error in unused argument cleanup (authored by Campbell Barton (campbellbarton)).
Fix error in unused argument cleanup
Mon, Mar 8, 2:26 PM
Campbell Barton (campbellbarton) accepted D10626: "Show Texture in texture tab" button: full support for Sculpt / Paint.
Mon, Mar 8, 2:17 PM · User Interface, Sculpt, Paint & Texture
Campbell Barton (campbellbarton) accepted D10632: Fix T86347: Add Primitive Tool fails for 1x1x1 scale.
Mon, Mar 8, 2:13 PM · Modeling
Campbell Barton (campbellbarton) requested changes to D10497: Fix T67190 : Edge Loop Select doesn't support non-manifold edges.
  • This walker should define it's own struct there is no need to reuse BMwEdgeLoopWalker.
Mon, Mar 8, 1:36 PM · Modeling
Campbell Barton (campbellbarton) updated the diff for D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.

Disable setting the UUID for create_placeholder() & in versioning code, also add assert to ensure this never happens.

Mon, Mar 8, 1:23 PM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) changed the subtype of T86191: Add Handlers to Operators. from "Report" to "Design".
Mon, Mar 8, 7:16 AM · Core
Campbell Barton (campbellbarton) added a reviewer for D2177: Expose BKE_report() to RNA Window Manager API: Campbell Barton (campbellbarton).
Mon, Mar 8, 7:16 AM · Core, BF Blender
Campbell Barton (campbellbarton) moved T86191: Add Handlers to Operators. from Backlog to Under Discussion on the Core board.
Mon, Mar 8, 7:12 AM · Core
Campbell Barton (campbellbarton) removed a project from T86191: Add Handlers to Operators.: Python API.
Mon, Mar 8, 7:10 AM · Core
Campbell Barton (campbellbarton) added a comment to T86191: Add Handlers to Operators..

Personally I'd put this functionality on hold (IIRC this been proposed and rejected before).

Mon, Mar 8, 7:09 AM · Core
Campbell Barton (campbellbarton) added a project to T86191: Add Handlers to Operators.: Python API.
Mon, Mar 8, 6:38 AM · Core
Campbell Barton (campbellbarton) added a project to T86191: Add Handlers to Operators.: Core.
Mon, Mar 8, 6:38 AM · Core
Campbell Barton (campbellbarton) changed the status of T86376: Memory surges when editing a shape key from Needs Triage to Needs Information from User.

This report is missing:

Mon, Mar 8, 6:33 AM · BF Blender
Campbell Barton (campbellbarton) added a comment to D2177: Expose BKE_report() to RNA Window Manager API.

This is functionality I intentionally didn't add (I looked into this some years back, since I thought I might need it).

Mon, Mar 8, 6:18 AM · Core, BF Blender
Campbell Barton (campbellbarton) committed rBa1bc7729f20b: Cleanup: use ofs instead of offs as an abbreviation for offset (authored by Campbell Barton (campbellbarton)).
Cleanup: use ofs instead of offs as an abbreviation for offset
Mon, Mar 8, 4:56 AM
Campbell Barton (campbellbarton) committed rBb4f5128b21f1: Cleanup: rename offs to offset (authored by Campbell Barton (campbellbarton)).
Cleanup: rename offs to offset
Mon, Mar 8, 4:56 AM
Campbell Barton (campbellbarton) committed rB242a278b5611: Cleanup: rename offs to offscreen (authored by Campbell Barton (campbellbarton)).
Cleanup: rename offs to offscreen
Mon, Mar 8, 4:41 AM
Campbell Barton (campbellbarton) committed rBc950e08cbb0b: Cleanup: add use prefix for boolean (authored by Campbell Barton (campbellbarton)).
Cleanup: add use prefix for boolean
Mon, Mar 8, 4:40 AM

Sun, Mar 7

Campbell Barton (campbellbarton) committed rB84da76a96c5c: Cleanup: use POINTER_OFFSET macro (authored by Campbell Barton (campbellbarton)).
Cleanup: use POINTER_OFFSET macro
Sun, Mar 7, 9:28 AM
Campbell Barton (campbellbarton) updated the diff for D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
  • Add comment explaining why LibraryLink_Params.id_tag_extra is duplicated in FileData.
Sun, Mar 7, 7:06 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) updated the summary of D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
Sun, Mar 7, 5:55 AM · Restricted Project, Python API, Core

Sat, Mar 6

Steffen Hartmann (Harti) awarded T73360: Fast highpoly mesh editing a Pirate Logo token.
Sat, Mar 6, 10:17 PM · Performance, Modeling, BF Blender
Campbell Barton (campbellbarton) updated the diff for D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
  • Add assert if any *unsafe* tags are set as extra tags.
Sat, Mar 6, 11:09 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) updated the diff for D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
  • Don't set session UUID for temporary ID's
Sat, Mar 6, 11:03 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) committed rB11efc9087b27: Cleanup: remove workaround for Python 3.7x crashing with libedit (authored by Campbell Barton (campbellbarton)).
Cleanup: remove workaround for Python 3.7x crashing with libedit
Sat, Mar 6, 9:33 AM
Campbell Barton (campbellbarton) committed rB995bb0860a54: Cleanup: remove redundant draw callback (authored by Campbell Barton (campbellbarton)).
Cleanup: remove redundant draw callback
Sat, Mar 6, 9:33 AM
Campbell Barton (campbellbarton) committed rB37793b90be12: Cleanup: unused imports (authored by Campbell Barton (campbellbarton)).
Cleanup: unused imports
Sat, Mar 6, 9:33 AM
Campbell Barton (campbellbarton) committed rBbd7969159997: Cleanup: unused variables (authored by Campbell Barton (campbellbarton)).
Cleanup: unused variables
Sat, Mar 6, 9:33 AM
Campbell Barton (campbellbarton) committed rB753f1cf0adf7: Cleanup: redundant pose bone assignment (authored by Campbell Barton (campbellbarton)).
Cleanup: redundant pose bone assignment
Sat, Mar 6, 9:33 AM
Campbell Barton (campbellbarton) committed rBb22b0372295a: Cleanup: rename wm_get_cursor_position (authored by Campbell Barton (campbellbarton)).
Cleanup: rename wm_get_cursor_position
Sat, Mar 6, 9:33 AM
Campbell Barton (campbellbarton) committed rB9dc0c44aa102: Cleanup: unused arguments (authored by Campbell Barton (campbellbarton)).
Cleanup: unused arguments
Sat, Mar 6, 9:33 AM
Campbell Barton (campbellbarton) committed rB3bc406274b17: Cleanup: comments (authored by Campbell Barton (campbellbarton)).
Cleanup: comments
Sat, Mar 6, 9:33 AM

Fri, Mar 5

Campbell Barton (campbellbarton) accepted D10625: Fix T86293: crash undoing after executing the python console in certain scenarios.

While this will likely give some overhead on heavy scenes, I don't think there are better alternatives.

Fri, Mar 5, 12:32 PM · Core
Campbell Barton (campbellbarton) committed rB5668901ced38: Cleanup: remove redundant NULL window checks handling events (authored by Campbell Barton (campbellbarton)).
Cleanup: remove redundant NULL window checks handling events
Fri, Mar 5, 11:31 AM
Campbell Barton (campbellbarton) added a comment to rBc44c611c6d8c: PyAPI: expose unstable type bpy.props._PropertyDeferred.

@Olenson S. Simon (olenman) this is the intermediate data, stored before the class is registered. This doesn't change access once the class is registered.

Fri, Mar 5, 11:25 AM
Campbell Barton (campbellbarton) committed rB663b0bb04c32: UI: minor changes to preset sorting (authored by Campbell Barton (campbellbarton)).
UI: minor changes to preset sorting
Fri, Mar 5, 7:10 AM
Campbell Barton (campbellbarton) committed rBb5d154f400e4: Cleanup: move check_drag & check_click out of wmEvent (authored by Campbell Barton (campbellbarton)).
Cleanup: move check_drag & check_click out of wmEvent
Fri, Mar 5, 7:10 AM
Campbell Barton (campbellbarton) committed rB78bd155f5c05: Cleanup: disambiguate 'queue' struct members (authored by Campbell Barton (campbellbarton)).
Cleanup: disambiguate 'queue' struct members
Fri, Mar 5, 5:00 AM
Campbell Barton (campbellbarton) committed rBc2e73a12251a: UI: save-preview tip now states that it's used for blend thumbnails (authored by Campbell Barton (campbellbarton)).
UI: save-preview tip now states that it's used for blend thumbnails
Fri, Mar 5, 4:46 AM
Campbell Barton (campbellbarton) committed rB23dfcc5ac7ed: Cleanup: rename event to event_type (authored by Campbell Barton (campbellbarton)).
Cleanup: rename event to event_type
Fri, Mar 5, 4:46 AM
Campbell Barton (campbellbarton) committed rBaa8671024223: Cleanup: spelling (authored by Campbell Barton (campbellbarton)).
Cleanup: spelling
Fri, Mar 5, 4:46 AM
Campbell Barton (campbellbarton) committed rBb9833860e565: Cleanup: maintain include order without disabling clang format (authored by Campbell Barton (campbellbarton)).
Cleanup: maintain include order without disabling clang format
Fri, Mar 5, 4:46 AM
Campbell Barton (campbellbarton) committed rBe0ba6a44114e: Cleanup: rename evt to event (authored by Campbell Barton (campbellbarton)).
Cleanup: rename evt to event
Fri, Mar 5, 4:46 AM
Campbell Barton (campbellbarton) committed rB59889d9b4f90: Cleanup: rename variables in wm_event_add_ghostevent (authored by Campbell Barton (campbellbarton)).
Cleanup: rename variables in wm_event_add_ghostevent
Fri, Mar 5, 4:46 AM
Campbell Barton (campbellbarton) awarded D10593: Fix T86185: Win32 Multiple Monitor Window Position a Like token.
Fri, Mar 5, 3:53 AM · User Interface
Campbell Barton (campbellbarton) awarded D10618: UI: Prefer shorter search items in fuzzy search. a Like token.
Fri, Mar 5, 3:45 AM
Campbell Barton (campbellbarton) added a comment to D10605: Fix T86231: Saving startup file always remaps relative.

To follow up on this topic, at first P2013 seemed reasonable. However as the startup file doesn't set a valid base path, it's best to store all paths as absolute.

Fri, Mar 5, 3:30 AM · Core

Thu, Mar 4

Yuichiro Fujita (chironamo) awarded T74186: Proposal for fast high poly mesh editing a Burninate token.
Thu, Mar 4, 4:29 PM · Modeling
Sergey Sharybin (sergey) awarded rBAd142dc2d11da: mesh_tissue: add comment to object.tessellate.working_on a Pterodactyl token.
Thu, Mar 4, 4:18 PM
Campbell Barton (campbellbarton) updated the summary of D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
Thu, Mar 4, 1:23 PM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) edited P2011 D10612_example.py.
Thu, Mar 4, 1:23 PM
Campbell Barton (campbellbarton) updated the diff for D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.

Use methods to avoid passing the BlendData as an argument to 'load'.

Thu, Mar 4, 1:22 PM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) committed rB386e3dd842a7: PyAPI: use methods for bpy.data.libraries.load & write (authored by Campbell Barton (campbellbarton)).
PyAPI: use methods for bpy.data.libraries.load & write
Thu, Mar 4, 1:16 PM
Campbell Barton (campbellbarton) committed rBd9e567d36573: PyAPI: support methods for collection properties (authored by Campbell Barton (campbellbarton)).
PyAPI: support methods for collection properties
Thu, Mar 4, 1:16 PM
Campbell Barton (campbellbarton) updated the diff for D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
  • Correct comment
Thu, Mar 4, 11:49 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) edited P2011 D10612_example.py.
Thu, Mar 4, 11:21 AM
Campbell Barton (campbellbarton) updated the summary of D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
Thu, Mar 4, 11:20 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) updated the summary of D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
Thu, Mar 4, 11:19 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) committed rB06d33a6876d2: Fix Saving startup file changing paths of the current file (authored by Campbell Barton (campbellbarton)).
Fix Saving startup file changing paths of the current file
Thu, Mar 4, 11:02 AM
Campbell Barton (campbellbarton) committed rB9fffb78343ba: Fix T86231: Saving startup file always remaps relative (authored by Campbell Barton (campbellbarton)).
Fix T86231: Saving startup file always remaps relative
Thu, Mar 4, 10:53 AM
Campbell Barton (campbellbarton) closed T86231: Saving the startup file will always remap paths relative as Resolved by committing rB9fffb78343ba: Fix T86231: Saving startup file always remaps relative.
Thu, Mar 4, 10:53 AM · Core, BF Blender
Campbell Barton (campbellbarton) created P2013 (An Untitled Masterwork).
Thu, Mar 4, 10:21 AM
Campbell Barton (campbellbarton) created P2012 D10605 alternative.
Thu, Mar 4, 10:17 AM
Campbell Barton (campbellbarton) added a comment to D10605: Fix T86231: Saving startup file always remaps relative.

Firstly, the behavior from T86231 isn't good, but I don't think this fix is right either.

Thu, Mar 4, 10:15 AM · Core
Campbell Barton (campbellbarton) planned changes to D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
Thu, Mar 4, 10:06 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) updated the summary of D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
Thu, Mar 4, 9:56 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) added projects to D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading: Core, Python API.
Thu, Mar 4, 8:41 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) added reviewers for D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading: Bastien Montagne (mont29), Sybren A. Stüvel (sybren).
Thu, Mar 4, 8:41 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) updated the summary of D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
Thu, Mar 4, 8:41 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) updated the summary of D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
Thu, Mar 4, 8:40 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) created P2011 D10612_example.py.
Thu, Mar 4, 8:39 AM
Campbell Barton (campbellbarton) retitled D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading from Python API for temporary library loading to PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
Thu, Mar 4, 8:38 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) updated the diff for D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
  • Correct docstrings
Thu, Mar 4, 8:31 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) requested review of D10612: PyAPI: add bpy.types.BlendFile.temp_data for temporary library loading.
Thu, Mar 4, 8:12 AM · Restricted Project, Python API, Core
Campbell Barton (campbellbarton) committed rBef7efc375197: Tests: don't write thumbnails when running tests (authored by Campbell Barton (campbellbarton)).
Tests: don't write thumbnails when running tests
Thu, Mar 4, 7:44 AM
Campbell Barton (campbellbarton) committed rB753a2a34cea7: Cleanup: include '--open-last' in "Misc Options" (authored by Campbell Barton (campbellbarton)).
Cleanup: include '--open-last' in "Misc Options"
Thu, Mar 4, 7:44 AM
Campbell Barton (campbellbarton) committed rB12b529b3a675: Cleanup: redundant struct declarations (authored by Campbell Barton (campbellbarton)).
Cleanup: redundant struct declarations
Thu, Mar 4, 7:44 AM
Campbell Barton (campbellbarton) committed rBabaa6c3ace14: Cleanup: use BM_mesh_copy_init_customdata utility function (authored by Campbell Barton (campbellbarton)).
Cleanup: use BM_mesh_copy_init_customdata utility function
Thu, Mar 4, 7:44 AM
Campbell Barton (campbellbarton) committed rB2df2f1c908fa: Cleanup: use non-zero comparisons for event modifiers (authored by Campbell Barton (campbellbarton)).
Cleanup: use non-zero comparisons for event modifiers
Thu, Mar 4, 7:44 AM
Campbell Barton (campbellbarton) committed rBbe627ab9e2e1: Cleanup: comments (authored by Campbell Barton (campbellbarton)).
Cleanup: comments
Thu, Mar 4, 7:44 AM
Campbell Barton (campbellbarton) committed rB39b86a989da5: Cleanup: use const arrays (authored by Campbell Barton (campbellbarton)).
Cleanup: use const arrays
Thu, Mar 4, 7:44 AM
Campbell Barton (campbellbarton) committed rBd10700a3ac4a: Cleanup: number literals (authored by Campbell Barton (campbellbarton)).
Cleanup: number literals
Thu, Mar 4, 7:44 AM
Campbell Barton (campbellbarton) updated the name of F9864611: D10497_example_radial_edge_error.blend from "D10497_fails_again.blend" to "D10497_example_radial_edge_error.blend".
Thu, Mar 4, 6:32 AM
Campbell Barton (campbellbarton) added a comment to D10497: Fix T67190 : Edge Loop Select doesn't support non-manifold edges.

This is an example that doesn't work properly:

Thu, Mar 4, 6:21 AM · Modeling
Campbell Barton (campbellbarton) committed rB24f0807550ac: Cleanup: replace Py_CLEAR with Py_DECREF in bpy.app modules (authored by Campbell Barton (campbellbarton)).
Cleanup: replace Py_CLEAR with Py_DECREF in bpy.app modules
Thu, Mar 4, 5:51 AM
Campbell Barton (campbellbarton) committed rBa40ccde40521: Fix logic for calling PyObject_GC_UnTrack (authored by Campbell Barton (campbellbarton)).
Fix logic for calling PyObject_GC_UnTrack
Thu, Mar 4, 5:19 AM
Campbell Barton (campbellbarton) committed rB0d28e2a334a1: PyAPI: correct garbage collection for StructRNA types (authored by Campbell Barton (campbellbarton)).
PyAPI: correct garbage collection for StructRNA types
Thu, Mar 4, 5:19 AM

Wed, Mar 3

Andrea (Andrew_D) awarded T54272: Python API for Blender's internal image functions a Love token.
Wed, Mar 3, 10:02 AM · Python API, BF Blender
Campbell Barton (campbellbarton) added a project to T86229: Extreme Long Edges Not Selectable in 3D View: Modeling.
Wed, Mar 3, 8:22 AM · Modeling, BF Blender
Campbell Barton (campbellbarton) committed rB7fddf383b13d: Cleanup: minor changes to Python RNA pointer assignment (authored by Campbell Barton (campbellbarton)).
Cleanup: minor changes to Python RNA pointer assignment
Wed, Mar 3, 5:07 AM

Tue, Mar 2

Campbell Barton (campbellbarton) committed rB6aec6568a0a3: Cleanup: spelling, minor corrections (authored by Campbell Barton (campbellbarton)).
Cleanup: spelling, minor corrections
Tue, Mar 2, 8:23 PM