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
2018-11-07Py API Docs: show gpu_extras moduleJacques Lucke
2018-11-06Fix/cleanup RNA viewlayer API.Bastien Montagne
RNA's ViewLayer would present 'first level' of layer collection as a list (collection property), when it is actually now only a single item, same as the scene's master collection. Note: did not try to update view_layer python tests, those are already fully broken for quiet some time I guess (they still assume view_layer.collections to be mutable e.g.)...
2018-11-01Merge branch 'master' into blender2.8Campbell Barton
2018-11-01Cleanup: move progress utility module into bpy_extrasCampbell Barton
Try avoid having too many toplevel modules with generic names.
2018-10-26Correction for Gizmo.draw_custom_shape utility APICampbell Barton
2018-10-26PyAPI: gpu utility module to create new batchesJacques Lucke
Support the common case of creating batches from python geometry, a shader and optionally indices. See D3779
2018-10-26Cleanup: minor change to last commitCampbell Barton
2018-10-26Update Gizmo.draw_custom_shape for API changesCampbell Barton
2018-10-26PyAPI: Make GPUVertFormat() argument optionalCampbell Barton
2018-10-25PyAPI: initial gpu_extras module (circle drawing utility)Campbell Barton
2018-10-24Fix T57366: Mesh.from_pydata invalid loose-edge stateCampbell Barton
2018-10-19Merge branch 'master' into blender2.8Campbell Barton
2018-10-19Fix error disabling all addonsCampbell Barton
2018-10-18PyAPI: Support for custom tool registrationCampbell Barton
Added a module bpy.utils.toolsystem which only exposes ToolDef, to avoid scripts referencing bl_ui internals.
2018-10-17node_shader_utils: Proper fix for node_normalmap accessor returning ellipsis ↵Bastien Montagne
value. Ellipsis value is internal ingredient only, to tag hidden _node_normalmap 'real' property as not yet initialized. Public node_normalmap accessor should never ever have that value, it's either None or a valid node!
2018-10-17Revert "Fix error on FBX export after material changes"Bastien Montagne
This reverts commit ce4cfbe108d0641832d86a731ea32f596220b7c5. Obviously wrong 'fix', please do not touch other dev’s code, especially in active/WIP area, when you do not fully understand it.
2018-10-17Fix error on FBX export after material changesDalai Felinto
Update the addons repository as well.
2018-10-16node_shader_utils: fix bad setting of use_nodes in readonly case.Bastien Montagne
Also added access to extension property in texture wrapper.
2018-10-13node_shader_utils: several fixes, improvements and cleanups.Bastien Montagne
Fix broken behavior in case of texcoords mapping (we do need texcoords node in all cases, then, even for UV coords...). Use nodes by default when generating new write-allowed wrapper around a material. Do not try to find nodes in existing tree all the time, do it only once, even for lazy-initialized nodes (through accessors). Fix ugly spacing in property accessors (since it looks like some people do not like a single 'block' with both getters, setters and prop definition, at least use one sep line everywhere (and two sep lines to separate properties)...
2018-10-12Python: change node_shader_utils diffuse RGBA to base_color RGB.Brecht Van Lommel
Best to give its actual name so it's clear that the Principled BSDF does not have a diffuse color exactly, and does not have an alpha component. Also image textures use UVs by default, so avoid creating a texture coordinate node for that.
2018-10-10Python API: add loop triangles access, remove tessfaces.Brecht Van Lommel
Loop triangles are tessellated triangles create from polygons, for renderers or exporters that need to match Blender's polygon tesselation exactly. These are a read-only runtime cache. Tessfaces are a legacy data structure from before Blender supported n-gons, and were already mostly removed from the C code. Details on porting code to loop triangles is in the release notes. Differential Revision: https://developer.blender.org/D3539
2018-10-08UI: new icon set by Andrzej Ambroz.Brecht Van Lommel
This is a monochrome icon set, with a more modern look and icons for various features that did not have a proper icon before.
2018-10-05UI: rename Border Select -> Box SelectCampbell Barton
See: T56648
2018-10-03Keymap: expose tool keymaps in the preferencesCampbell Barton
Currently some modes share tool keymaps, we might want to disable this since it's confusing editing one thing in multiple places. However this should be resolved in the tool definitions.
2018-10-02Addons: reactivate BVH and PLY format addonsJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D3758
2018-10-01Cleanup: use tuple unpackingCampbell Barton
2018-10-01Cleanup: pep8, unused importCampbell Barton
2018-09-30io_utils: remove `orientation_helper_factory`.Bastien Montagne
Now we only use orientation_helper decorator.
2018-09-28Python IO: Initial nodal shader support for import AND export.Bastien Montagne
That new bpy_extras' node_shader_utils module is remotely based on existing addons' cycles_shader_compat module. It has some key differences though: - It is based on Principled shader, instead of the noodle combination of half a dozen simpler shaders. - It does not do any value conversion (like e.g. clamping, which was only suited for FBX). Any conversion/adaptation is to be done by each IO add-on. - It extensively uses accessors to offer: - Easy read/write of values, hiding all the hairy noodly nodes (principled shader helps a lot here). - lazy creation of most nodes on accessing (when generating a material), which avoids getting unused nodes in final shader. - We only use Principled BSDF so far though, which means some features supported by previous system are not yet implemented in new one. Note that, even though we support 'exporting' side of things, this will only work for a very specific (and basic) kind of shader. This will have to be clearly explained in end-user documentation. Also, that code has had some basic testing, but most certainly needs a lot more refinement. As proof-of-concept, OBJ IO script will be updated to use that new system after that commit.
2018-09-26Addons: reactivate 'STL format' addonJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D3735
2018-09-21Re-enable OBJ add-on.Bastien Montagne
2018-09-21Py io_utils: deprecate `orientation_helper_factory` and add new ↵Bastien Montagne
`orientation_helper` decorator. This fixes warning about not using annotations, and a decorator here is a much cleaner solution anyway.
2018-09-21Re-enable FBX add-on.Bastien Montagne
2018-09-21Merge branch 'master' into blender2.8Campbell Barton
2018-09-21Cleanup: style, use raw stringsCampbell Barton
2018-09-19Addon Utils: Green light the uv layout addonDalai Felinto
2018-09-13Merge branch 'master' into blender2.8Campbell Barton
2018-09-13PyAPI: remove operator methods that leak memoryCampbell Barton
2018-09-13PyAPI: use brief description for operator reprCampbell Barton
Only include description in docstring. Also avoid using op_get_rna.
2018-09-13Merge branch 'master' into blender2.8Campbell Barton
2018-09-13PyAPI: add API call to get an operators typeCampbell Barton
Getting the instance leaks memory and was only meant to be used for generating docs.
2018-09-12Fix T56766: Bake Action Visual Keying Not Working.Bastien Montagne
Consequences of new requirement to use named keywords parameters for our RNA API... Hopefully fixed all other cases in that file as well, but guess we'll find more of those in comming weeks. :|
2018-09-10Fix object_utils.py's matrix multiplication (use new @ syntax).Bastien Montagne
2018-09-10Fix image_utils.py's load_image() helper.Bastien Montagne
2018-09-07RNA: update gizmo API for changes in BlenderCampbell Barton
- gpu module renamed. - make gizmo.new() take type as a required argument.
2018-09-04UI: icon keyword argument to popmenu_begin__internalAleksandr Zinovev
2018-09-03Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/collision.c
2018-09-03Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3668
2018-08-28RNA: use required args for internal popup end APICampbell Barton
2018-08-28RNA: UILayout.split(..) 'percentage' to 'factor'Campbell Barton
Misleading name since it's between 0..1. Use as a keyword argument to prepare for keyword only args. Also document that leaving unset has special behavior.