Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-18Fix (unreported) wrong handling of some parameters combination in ↵Bastien Montagne
`bpy.data.user_map()` Would add undesired keys...
2019-02-18ID Management Py API: Fix (unreported) crash in some cases.Bastien Montagne
Would crash when passing some kind of invalid parameters, e.g.: >>>D.user_map(key_types={'brush'})
2019-02-18ID management: use FOREACH_MAIN_ID in some places.Bastien Montagne
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-17Units: add support for light power units in Watt. Use for Eevee lights.Brecht Van Lommel
This affects point, spot and area lights. Sun light strength remains without a unit. This change does not affect .blend file compatibility in any way, as with the rest of the unit system it's purely a display and editing feature. Not used for Cycles yet, that will be done after unifying the settings with Eevee.
2019-02-17Cleanup: rename Mesh.edit_btmesh -> edit_meshCampbell Barton
When bmesh was in a branch we had both edit_mesh and edit_btmesh, now there is no reason to use this odd name.
2019-02-16Cleanup: rename SPACE_IPO -> SPACE_GRAPHCampbell Barton
2019-02-16DNA: rename SpaceButs -> SpacePropertiesCampbell Barton
2019-02-11Cleanup: comment indentation & spellingCampbell Barton
2019-02-09Fix T61332: Python3 syntax errorsJacques Lucke
2019-02-07PyAPI: message subscribe option arg now optionalCampbell Barton
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-05Cleanup: remove contributors for Python filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-04PyAPI: use _PyObject_LookupAttrCampbell Barton
Unlike PyObject_GetAttr, this avoids setting the attribute error only to clear it - under some conditions.
2019-02-04Python: bump minimum version to 3.7Campbell Barton
All platforms use 3.7 now, supporting both increases chance some scripts will fail on older versions.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-02WM: Event simulation support for PythonCampbell Barton
This feature is intended only for testing, to automate simulating user input. - Enabled by '--enable-event-simulate'. - Disables handling all real input events. - Access by calling `Window.event_simulate(..)` - Disabling `bpy.app.use_event_simulate` to allow handling real events (can only disable). Currently only mouse & keyboard events work well, NDOF, IME... etc could be added as needed. See D4286 for example usage.
2019-02-02Cleanup: use G_FLAG_*/G_FILE_* for G.f/fileflagsCampbell Barton
Was confusing eg: G_AUTOPACK belonged to G.fileflags, G_PICKSEL to G.f.
2019-02-01Cleanup: manually remove header text not handled by automationCampbell Barton
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-29Cleanup: replace attrib w/ attrCampbell Barton
Also rename GPUVertexAttribs to GPUVertAttrLayers, avoids confusion with GPUVertAttr which isn't closely related.
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-26Cleanup: blank lines over doxy headersCampbell Barton
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-25Cleanup: sort cmake file listsCampbell Barton
2019-01-24Fix T60350: Removed objects that are still in the outliner will crash Blender.Bastien Montagne
We need to force UI to fully redraw, BKE_id_delete & co won't do that for us.
2019-01-23Cleanup: use eGPU prefix for GPU enum typesCampbell Barton
2019-01-22Fix T60643: BMesh operator enum args fail when unset from PythonCampbell Barton
Error introduced with bmesh operator enum support: 1e6a5eb087911
2019-01-19Cleanup: add trailing commasCampbell Barton
Prevents clang-format merging into a single line.
2019-01-17GPU: Rename GPU_shader_get_uniform to GPU_shader_get_uniform_ensureClément Foucault
This is in order to make the API more multithread friendly inside the draw manager. GPU_shader_get_uniform will only serve to query the shader interface and not do any GL call, making it threadsafe. For now it only print a warning if the uniform was not queried before.
2019-01-17PyAPI: minor change to bpy.app.debug_value exception handlingCampbell Barton
Use error from int conversion function.
2019-01-17PyAPI: Avoid redundant prefix for PyC_Err_Format_PrefixCampbell Barton
Only show the exception value type when it's not a string.
2019-01-17PyAPI: add PyC_Err_SetString_Prefix for internal useCampbell Barton
2019-01-16Cleanup/sanitize usages of G.debug_value.Bastien Montagne
There was no documentation at all, some very bad practices (like using G.debug_value > 0 as some sort of global debug print switch), and even an overlapping use of '1' value... Also, python setter did not check for valid range (since this is a short, not an int).
2019-01-16Expose batch IDs deletion in python API.Bastien Montagne
Follow-up to previous commit.
2019-01-11Cleanup: remove tabs after line startCampbell Barton
Allows expanding tabs before running clang-format.
2019-01-10Cleanup: end bgl macros w/ semicolonCampbell Barton
Needed for clang-format.
2019-01-07Cleanup: fix typo.Bastien Montagne
2019-01-07Cleanup: naming for return argsCampbell Barton
2019-01-07Fix T58964: drivers_remove fails w/ missing pathsCampbell Barton
2019-01-07Cleanup: add trailing commas to structsCampbell Barton
2019-01-03Cleanup: preprocessor indentationCampbell Barton
2019-01-02Cleanup: py-gpu error checksCampbell Barton
Move gpu initialization checks to the start of each function instead of mixing with argument parsing.
2019-01-02Revert file rename from T59773 fixCampbell Barton
Mixing file rename with other changes should be avoided. Using 'module_py_api' convention here is in keeping with imbuf, idprop, blf & bmesh. No reason for gpu to have a different convention.
2019-01-02Fix T59773: Raise exception if the gpu module is used in backgound mode.mano-wii
Instead of crashing, an error message is displayed if a function of the gpu module is called without a GPU context. Reviewers: brecht, campbellbarton, JacquesLucke, mont29 Subscribers: abdelmatinboulbayam, amir.shehata Differential Revision: https://developer.blender.org/D4143
2019-01-02Cleanup: indentation, namingCampbell Barton
Use rna naming conventions for unit-settings callbacks.
2019-01-02PyRNA: enum no longer returns first item when the value isn't foundCampbell Barton
This hides errors & makes it confusing to debug mistakes when the enum items aren't correct. Return an empty string instead.
2018-12-30Cleanup: remove non-existing function declarationsCampbell Barton
2018-12-27Fix T58734: bvhtree.fromObject - error ( returned NULL without setting an ↵Bastien Montagne
error) in blender 2.8. Would free evaluated mesh even when it was the one cached in runtime data by depsgraph evaluation! Also fixes the asserts about using non-eval object in some cases.