Revision 4c3d4eb by Campbell Barton July 30, 2021, 14:15 (GMT) |
Cleanup: remove redundant ifdef check The define that was tested no longer exists. |
Revision eb2a6f4 by Julian Eisel July 30, 2021, 13:54 (GMT) |
Fix T90318: Dragging asset while Asset Browser is still loading crashes This partially reverts cb0b017d8f51: We can't store the asset handle in the drag data, because the file pointer it wraps may be freed as the Asset Browser generates its file list. |
Revision 4647ffd by Julian Eisel July 30, 2021, 12:34 (GMT) |
Cleanup: Remove unused file description storage This isn't used at all in the current File and Asset Browser design. |
Revision c8b7745 by Campbell Barton July 30, 2021, 12:29 (GMT) |
Cleanup: headers, use 'pragma once', remove argument to 'file' |
Revision 5aa45c4 by Campbell Barton July 30, 2021, 12:20 (GMT) |
Cleanup: missing leading '*' from comment blocks |
Revision 88e774a by Campbell Barton July 30, 2021, 11:56 (GMT) |
Cleanup: workaround for unstable formatting in clang-format Running multiple times would re-indent differently. |
Revision a787bcb by Flix / Campbell Barton July 30, 2021, 11:43 (GMT) |
Revision 8796a28 by James Monteath July 30, 2021, 11:40 (GMT) |
Update REAME.md file |
Revision b98735e by Sybren A. Stüvel July 30, 2021, 11:16 (GMT) |
Kernel: include header file in BKE_appdir.h defining size_t In `BKE_appdir.h`, include `<stddef.h>` as that defines `size_t`. This follows the "include what you use" principle, and makes it possible to use `BKE_appdir.h` without having to bother with its dependencies. No functional changes. |
Revision 0204314 by Campbell Barton July 30, 2021, 06:44 (GMT) |
Cleanup: limit scope of temporary variables Also remove early return as it duplicates cleanup calls. |
Revision 93eb460 by Campbell Barton July 30, 2021, 06:19 (GMT) |
Cleanup: clang-format (re-run after v12 version bump) |
Revision f81a6a2 by Campbell Barton July 30, 2021, 06:16 (GMT) |
Cleanup: spelling in comments |
Revision 63f7ece by Campbell Barton July 30, 2021, 06:04 (GMT) |
PyAPI: defer freeing existing properties on registration Registering a property could remove the existing property, then fail to parse one of the arguments of the new property - leaving the struct without a property. Now freeing the existing property is deferred until immediately before the new property is registered. |
Revision d06b03f by Campbell Barton July 30, 2021, 06:04 (GMT) |
PyAPI: include the property name & type in registration errors This gives useful context in errors, also remove newline endings from exceptions. |
Revision 9764d90 by Campbell Barton July 30, 2021, 06:03 (GMT) |
Cleanup: use pyrna_enum_value_parse_string parser for enum args |
Revision 228edca by Campbell Barton July 30, 2021, 06:03 (GMT) |
Cleanup: bpy.props variable names - Use `default` instead of `def` abbreviation. - Rename `BPYPropArrayLength` to `BPyPropArrayLength` in keeping with other local structs. - Remove _PyArg_Parser.fname value accidentally left in (harmless as it's not used). |
Revision a2b8dad by Campbell Barton July 30, 2021, 06:03 (GMT) |
PyAPI: support accessing the original value for RNA enum parsing Needed in siturations when the input argument is needed for exception messages. |
Revision ddcb6b1 by Campbell Barton July 30, 2021, 01:57 (GMT) |
Cleanup: replace macros with converter callbacks for bpy.props Macros were used for expanding shared logic for some properties. Replace this with Python converters & a funciton that handles deferred registration. Add generic converter functions for RNA enums: - pyrna_enum_value_parse_string - pyrna_enum_bitfield_parse_set |
Revision 5280d4b by Antonio Vazquez July 29, 2021, 20:30 (GMT) |
GPencil: Fix unreported problems painting after import SVG After doing an import, the bounding box of the stroke was not calculated and any operation related to brushes (Sculpt, Weight Paint and Vertex Paint) was not working as expected because the bounding box of the stroke was wrong. This problem was solved automatically after any edit operation, but must be solved in the import process. |
Revision 8f05520 by Germano Cavalcante July 29, 2021, 20:16 (GMT) |
Fix T89213: Some modifier properties have wrong subtype This commit resolves these RNA warnings: ``` offset: "", WARN (bpy.rna): ...sourceblenderpythoninternbpy_rna.c:1505 pyrna_enum_to_py: current value '65536' matches no enum in 'FloatProperty', 'offset', 'subtype' project_limit: "", WARN (bpy.rna): ...sourceblenderpythoninternbpy_rna.c:1505 pyrna_enum_to_py: current value '65536' matches no enum in 'FloatProperty', 'project_limit', 'subtype' falloff_radius: "", WARN (bpy.rna): ...sourceblenderpythoninternbpy_rna.c:1505 pyrna_enum_to_py: current value '65567' matches no enum in 'FloatProperty', 'falloff_radius', 'subtype' ``` |
|