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 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-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-19Cleanup: add trailing commasCampbell Barton
Prevents clang-format merging into a single line.
2019-01-17PyAPI: minor change to bpy.app.debug_value exception handlingCampbell Barton
Use error from int conversion function.
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-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-03Cleanup: preprocessor indentationCampbell Barton
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-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-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-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-11-30PyAPI: add load_factory_startup_post handlerCampbell Barton
Needed so we can apply changes to the startup file, only in the case when it's load loaded from a user-saved startup.
2018-11-26Timer: Generic BLI_timer with Python wrapperJacques Lucke
There is a new `bpy.app.timers` api. For more details, look in the Python API documentation. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3994
2018-11-23Python API: restore bpy.app.autoexec_fail variables, some scripts use it.Brecht Van Lommel
2018-11-23Python API: bpy.app.handlers.depsgraph_update_pre/postJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D3978
2018-11-14Cleanup: python doc-stringsCampbell Barton
Indentation & trailing space.
2018-11-14Cleanup: python doc-stringsCampbell Barton
Indentation & trailing space.
2018-11-11Merge branch 'master' into blender2.8Campbell Barton
2018-11-11PyAPI: update keyword listCampbell Barton
2018-11-10Merge branch 'master' into blender2.8Campbell Barton
2018-11-10PyAPI: add imports arg to BPY_execute_stringCampbell Barton
Allows for avoiding `__import__` in expressions, was already supported for BPY_execute_string_as_* API calls.
2018-11-09BKE_id_is_in_gobal_main > BKE_id_is_in_global_mainDalai Felinto
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-07Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h'Bastien Montagne
That kind of implicit includes should really only be done when totally, absolutely necessary, and ideally only with rather simple 'second-level' headers. Otherwise not being explicit with includes always end up biting in unexpected ways...
2018-11-07Merge branch 'master' into blender2.8Stefan Werner
2018-11-07Cycles: Added Embree as BVH option for CPU renders.Stefan Werner
Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag. Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly. There, Embree is off by default too and must be enabled with the WITH_EMBREE flag. Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint. TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache). Differential Revision: https://developer.blender.org/D3682
2018-11-01Fix bpy.app, sentinel was removed by accidentCampbell Barton
2018-11-01UI: show blocking popup when auto execution of scripts is disabled.Brecht Van Lommel
This is important information, and it was easily missed at the top/bottom of the screen. Ref T57197.