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-06-15Cleanup: Rename: Static Override -> Library Override.Bastien Montagne
Better to make internal code naming match official/UI naming to some extent, this will reduce confusion in the future. This is 'breaking' scripts and files that would use that feature, but since it is not yet officially supported nor exposed in 2.80, as far as that release is concerned, it is effectively a 'no functional changes' commit.
2019-06-12UI: alternate fix for T65702, handling of auto-saving userprefsCampbell Barton
The behavior for loading factory settings wasn't clear for users. This commit changes the behavior: - Loading factory settings always disables auto-save for the current session. - The internal setting to skip saving on exit is now exposed in the preferences (when enabled). - The menu item "Load Factory Settings (Temporary)" has been removed since it's always temporary. This way users can always reset factory settings without having to consider the combination of options that might cause their preferences to be overwritten at exit. If they want to enable auto-save for the current session this can be done from the preferences.
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-06-06Python: GPU Offscreen RenderingJeroen Bakker
When using python offscreen rendering the background was not drawn in EEVEE. Users would expect that when calling the `draw_view3d` method that it shows the same as in the 3d viewport. Seems to be a difference between the meaning of draw_background in b279 and b280. In B279 the world background would be drawn. In B280 the transparency is changed. Reviewed By: campbellbarton, fclem Maniphest Tasks: T61768 Differential Revision: https://developer.blender.org/D5022
2019-06-05Python GPU Shader: Fix crash when uniform is not found.mano-wii
Error in string format.
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-31Fix bmesh_to_mesh freeing possibly referenced verticesSergey Sharybin
Fixes Godot exporter issue reported in T65285.
2019-05-29Fix T65005: Missing "LINES_ADJ" and "TRIS_ADJ" in the GPU Python API.mano-wii
2019-05-22Preferences: add handler for loading factory preferencesCampbell Barton
Allows app-templates to define their own adjustments to preferences. This matches `load_factory_startup_post`, use when loading preferences.
2019-05-20Cleanup: reorder report argument for pointer assignmentCampbell Barton
Most code uses ReportList argument last (or at least not first) when an optional report list can be passed in.
2019-05-19Python API: add a Matrix.Diagonal constructor to mathutils.Alexander Gavrilov
For some reason there seems to be no way to do the very simple and obvious task of converting a scale vector to a matrix via mathutils. The Matrix.Scale constructor does something complicated instead. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4893
2019-05-17Cycles/Eevee: unify depth of field settings for camerasJeroen Bakker
There is now a checkbox to enable/disable depth of field per camera. For Eevee this replace the scene level setting. For Cycles there is now only an F-Stop value, no longer a Radius. Existing files are converted based on Cycles or Eevee being set in the scene. Differential Revision: https://developer.blender.org/D4882
2019-05-17Python: Raise an error even NO_MAIN data is assigned to objectSergey Sharybin
The goal is to prevent assignment of temporary or evaluated meshes to objects from the main database. Majority of the change is actually related on passing reports around. On a positive side there are more error prints which can become more visible to scripters. There are still possible further improvements in the related areas. For example, disable user counting for evaluated ID datablocks when assignment happens. But can also happen later on as a separate improvement. Reviewers: brecht, campbellbarton, mont29 Reviewed By: brecht Differential Revision: https://developer.blender.org/D4884
2019-05-16Refactor: Simplify ID Property freeingJacques Lucke
This also makes `IDP_CopyProperty` the "opposite" of `IDP_FreeProperty`, which is what I'd expect. Two refactoring steps: * rename IDP_FreeProperty to IDP_FreePropertyContent * new IDP_FreeProperty function that actually frees the property Reviewers: brecht Differential Revision: https://developer.blender.org/D4872
2019-05-11Python API: expose more keyframing flags for use in keyframe_insert.Alexander Gavrilov
Expose REPLACE and CYCLE_AWARE, and add AVAILABLE for completeness. These flags are generic and safe to use, and necessary to match the behavior of certain UI options.
2019-05-03Revert "Cleanup: add semicolon after PyObject_VAR_HEAD"Campbell Barton
This reverts commit a01bcfa6366f893fbc8fdbf537d91ece4832ea03. This causes MSVC2019 build to fail with error C2059 Unfortunately this means we have to put up with bad formatting in Python structs.
2019-05-03Cleanup: add semicolon after PyObject_VAR_HEADCampbell Barton
clang-format doesn't expand macros, add semicolon to prevent misleading formatting.
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
2019-04-29Cleanup: comments (long lines) in pythonCampbell Barton
2019-04-26Fix T63896: Removing Drivers in Python Leads to CrashSergey Sharybin
Adding and removing drivers must always tag relations for update.
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
2019-04-23Cleanup: correct rst string literalsCampbell Barton
2019-04-23Space_node: Add draw backdrop callback.Ray Molenkamp
Add a callback to allow custom node editors to draw their own backdrop. Differential Revision: https://developer.blender.org/D4709 Reviewed by: JacquesLucke
2019-04-21Cleanup: comments (mainly long lines)Campbell Barton
Comments after code can cause awkward line breaks.
2019-04-20Cleanup: add missing macros to clang-formatCampbell Barton
2019-04-20Cleanup: quiet extra-semicolon warningCampbell Barton
2019-04-18Cleanup: add trailing commas to avoid right shiftCampbell Barton
2019-04-18PyAPI: remove support for importing text blocks as modulesCampbell Barton
Allowing direct import of text blocks isn't especially useful, instead add `text.as_module()` script authors can do this explicitly if it's needed. Now the text "Register" option executes instead of loading as a module. This removes the need to keep track of the current Main, and C code to override Python's import & reload.
2019-04-18Python API: allow passing integer to some BGL functions instead of bgl.BufferBrecht Van Lommel
These parameters can be both pointers and offsets into a bound buffer, so we need to support both even if it's possible to cause crashes this way.
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17Fix T63673: Wrong api documentation for Quaternion.dot(other)Jacques Lucke
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: avoid adjacent C-style commentsCampbell Barton
Causes clang-format to give different results on a second run.
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-16CMake: fix linking with gtest & cycles enabledCampbell Barton
2019-04-16Cleanup: move motion paths into editors/animationCampbell Barton
Having this in blenkernel caused bad level calls to bf_editors_anim, causing tests that use 'blenkernel' to require almost all libraries. (complicating gtest linking & causing large binaries).
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-10Cleanup: use STR_ELEM macroCampbell Barton
2019-03-29Cleanup: style, use braces for the Python APICampbell Barton
2019-03-29Cleanup: styleCampbell Barton
2019-03-29GPU: Fix color difference when rendering to gpu_py_offscreenClément Foucault
Now we do the color management inside the Draw manager and output CM byte buffer.
2019-03-28Cleanup: remove unused derivedmesh code.Brecht Van Lommel
2019-03-28Fix bpy.msgbus.subscribe_rna argument parsingCampbell Barton
Also enforce all arguments are keywords and update docstring.
2019-03-27Fix class registration ignoring info/warningsCampbell Barton
Only errors were displayed in the console.
2019-03-27PyAPI: utility function to print reportsCampbell Barton
2019-03-26Python API: allow passing None to some BGL functions instead of bgl.BufferBrecht Van Lommel
Many OpenGL functions take NULL pointers, passing those was quite complicated with some addons even using ctypes to manipulate internal bgl.Buffer pointers.
2019-03-26Fix T62946: missing warning when Python driver expression execution is disabled.Brecht Van Lommel
2019-03-25Cleanup: style, array wrappingCampbell Barton
Add trailing comma for clang-format.