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-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.
2018-12-21RNA: naming, user-preferences -> preferencesCampbell Barton
2018-12-20Merge branch 'master' into blender2.8Campbell Barton
2018-12-20PyAPI: don't truncate enums in exception messagesCampbell Barton
Not necessary and confusing when only some of the items are displayed. See: T59044
2018-12-20Cleanup: argument wrapping indentationCampbell Barton
2018-12-19Merge branch 'master' into blender2.8Campbell Barton
2018-12-19Cleanup: spellingCampbell Barton
2018-12-18Py Docs: documentation for draw_handler_add/removeJacques Lucke
2018-12-18Fix paste/append w/ local-viewCampbell Barton
Paste in local-view wasn't setting local-view bits.
2018-12-16Fix T58975: "@=" operator silently failsCampbell Barton
D4083 by @artfunkel
2018-12-14NLA: insert keyframes correctly for strips with non-Replace mode.Alexander Gavrilov
NLA strips support using the keyframe values in a variety of ways: adding, subtracting, multiplying, linearly mixing with the result of strips located below in the stack. This is intended for layering tweaks on top of a base animation. However, when inserting keyframes into such strips, it simply inserts the final value of the property, irrespective of these settings. This in fact makes the feature nearly useless. To fix this it is necessary to evaluate the NLA stack below the edited strip and correctly compute the raw key that would produce the intended final value, according to the mode and influence. Differential Revision: https://developer.blender.org/D3927
2018-12-14Merge branch 'master' into blender2.8Campbell Barton
2018-12-14Cleanup: naming (mean -> median) see T47811Campbell Barton