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
path: root/source
AgeCommit message (Collapse)Author
2020-02-14DRW: Fix viewport render always rendering with transparent backgroundClément Foucault
2020-02-14Cleanup: simplify redundant tests in scrollbar codeNicholas Rishel
Differential Revision: https://developer.blender.org/D6783
2020-02-14Fix failing assert & uninitialized paint settings in empty sceneJulian Eisel
Steps to reproduce were: * Add new (empty) scene * Add some mesh object * Change to texture paint mode While it can be argued that we should already init the settings when creating a new scene (so that the texture tab can show up), BKE_paint_init() should always ensure paint settings are initialized either way. Related to T73611.
2020-02-14Cleanup: Fix compiler warningAntonio Vazquez
2020-02-14Cleanup: Rename ED_region_tag_redraw_overlay() to ED_region_tag_redraw_cursor()Julian Eisel
Old name was a bit confusing/misleading, esp. since previous commit.
2020-02-14UI: Allow gizmo-only redraw taggingJulian Eisel
NOTE: This change shouldn't have any visible effect. It's just the first (easiest) step towards decoupling gizmo redraws from viewport redraws. We currently redraw the entire region whenever a gizmo needs redrawing, which would be nice to avoid in the future, see T73198. The first step towards this would be having a separate tag for them, which is what this patch implements. The term "editor-overlays" was chosen because for the forseeable future, we'll also have to redraw non-gizmo overlays in-between drawing 3D and 2D gizmos. Namely annotations. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6838
2020-02-14Cleanup: Rename bonesize transform filemano-wii
`transform_mode_bonesize.c` --> `transform_mode_bbone_resize.c`
2020-02-14Fix T68610: B-Bone display size/scaling op issuesmano-wii
Fix ReDo and create a new operator to display only the required properties. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6849
2020-02-14Cleanup: Alembic, renamed and moved convert_matrix functionSybren A. Stüvel
The `convert_matrix()` function just converts between the Alembic and Blender matrix data types, and doesn't do any coordinate system conversion. To clarify this, the function has now been renamed to `convert_matrix_datatype()`. I also moved the implementations next to each other in the source file, so that it's visible that there are actually two of them. No functional changes.
2020-02-14Cleanup: Alembic, removed unused export settingsSybren A. Stüvel
No functional changes.
2020-02-14Alembic: refactor import and export of transformationsSybren A. Stüvel
The Alembic importer now works with local coordinates. Previously, the importer converted transformations from Alembic to world coordinates before processing them further; this processing often included re-converting to local coordinates. This change made it possible to remove some code that assumed that a child transform was only read after its parent transform. Blender's Alembic code follows the Maya convention, where in the zero orientation the camera looks forward instead of down. This extra rotation is now handled more consistently, and now also properly handles children of cameras. This fixes T73269. Unit tests were added to at least ensure that the importer and exporter are compatible with each other, and that static and animated camera transforms are handled in the same way.
2020-02-14Fix T73763: Laggy with nodes Editor + International Fontsmano-wii
Two main reasons for the lag: - Allocation of memory with transfer to GPU. - BLF_cache_clear(); The memory allocation seems to be unnecessary, so I removed it. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6837
2020-02-14Fluid: Inflow object improvementsSebastián Barschkis
Various fixes for smoke / fire flow objects: - Apply inflow at every subframe (new: also emit during adaptive steps in between frames) - Fix issue with fire not being emitted on first frame - Higher value range for smoke flow density variable
2020-02-14Cleanup: compiler warningsBrecht Van Lommel
2020-02-14UI: draw object names in 3D viewport with full opacityAlessio Monti di Sopra
Lamp names were be almost invisible when unselected. Differential Revision: https://developer.blender.org/D6048
2020-02-14Make libquery resilient to old blend-files missing pointers.Bastien Montagne
This makes libquery usable during blendfile reading phases. Some pointers that shall never be NULL in modern Main database did not exist before.
2020-02-14Cleanup: Split transform.c in multiple filesmano-wii
Differential Revision: https://developer.blender.org/D5819
2020-02-14BKE: Version Bump to 2.82.3Clément Foucault
Needed to avoid double fix of sun lights bias.
2020-02-14EEVEE: Shadow: Fix cascade shadowmap bias multiplicatorClément Foucault
This fixes the issue where sun shadowmaps needs a very big bias value to make any difference. The bias is now in world space and not dependant on shadow bounds. Unfortunatelly this breaks compatibility with previous version and old scene are likely to need user intervention to fix. Also fixes the property range. Fix T71661 EEVEE shadow from sun on incorrect face
2020-02-14Fix minor issue with new libraries ID usercount.Bastien Montagne
Library data-blocks are supposed to be tagged as 'real user', i.e. have one virtual user, since nothing else actually uses (refcounts) them. That was done in liblink code, but not for newly added ID-LI IDs when linking from a new libblend file e.g.
2020-02-14Cleanup: libquery: add explicit comment that we ignore `ID.lib` pointer there.Bastien Montagne
2020-02-14Particle editmode: add mouse independent "Select Linked" operatorPhilipp Oeser
The current "Select Linked" operator works based on mouse position and makes no sense to call from the menus and was removed in rBdd9dfadaac9b. This patch adds an operator independent from mouse position that just selects all keys to a corresponding point (and adds back menu entries, adds keymap entry). The original operator is renamed to 'select_linked_pick' internally (this is now more in line to how "Select Linked" works for meshes, curves etc) Differential Revision: https://developer.blender.org/D6823
2020-02-14Fix T71971: Inset with depth and relative offset failsCampbell Barton
2020-02-14BMesh: stop BM_mesh_elem_index_validate from setting indicesCampbell Barton
This prevented indices from being set to temporary values, which is needed in some situations.
2020-02-14Fix console cursor offsetCampbell Barton
Also remove hard coded offsets.
2020-02-14Cleanup: console/info headersCampbell Barton
2020-02-14Cleanup: use 'textview_' prefix for internal functionsCampbell Barton
2020-02-14Cleanup: change textview 'unsigned char' to 'uchar'Campbell Barton
2020-02-14Fix T73784: Python console: incorrect wrapped line cursor positionCampbell Barton
Regression in aa919f3e82020 Remove character margins, it complicated drawing & picking to have one margin in pixels and a second margin in characters. Replace this with an outer pixel-margin for drawing background colors.
2020-02-14Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it.Ray Molenkamp
MSVC has a conformance mode (/permissive-) where the C++ standard is more strictly enforced. This mode is available on MSVC 15.5+ [1] This patch enables this mode on compilers that support it and cleans up the few violations it threw up in the process. - Mantaflow was using M_PI without requesting them using the _USE_MATH_DEFINES define to opt in to non default behaviour. - Collada did not include the right header for std::cerr, this seemingly was fixed for other platforms already but put inside a platform guard. - Ghost had some scoping issues regarding uninitialized variables and goto behaviour Second landing of this patch, earlier commit was reverted due to some compiler configurations having slipped though testing [1] https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance Differential Revision: https://developer.blender.org/D6824 Reviewed By: brecht
2020-02-14Freestyle: Add option for rendering Freestyle to a separate passLukas Stockner
This allows for more flexibility in Compositing compared to the hardcoded alpha-over that is currently used. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6829
2020-02-13DRW: Fix color management in material/rendered modeClément Foucault
We only do exposure/gamma if not using scene lighting
2020-02-13Py API: Add `orphans_purge` helper to `bpy.data`.Bastien Montagne
Much more convinient than trying to use outliner operator...
2020-02-13Fix for fix (c) assert from own recent commit.Bastien Montagne
This master_collection thing is really, really annoyingly spreading all over the place...
2020-02-13Cleanup: add clarifying comment to ViewLayer->layer_collectionsJacques Lucke
2020-02-13Fix (unreported) private/embedded IDs being added to `bpy.data.user_map()` dict.Bastien Montagne
We do not want those here.
2020-02-13Fix (unreported) fully broken `bpy.data.user_map()` helper.Bastien Montagne
The introduction of python instancing for ID data in 2.80 completely broke the 'smart & efficient' hack of using a same py object as key for initial quick check, since rebuilding the RNAPointer in the BPy_StructRNA would actually affect the py instance of the first ID used to generate that py object... TL;DR: No need for this complex and unclear optimization anymore, since we do not actually rebuild a whole py object anymore every time we call `pyrna_id_CreatePyObject()` from a same ID pointer.
2020-02-13libquery: Add 'owner id' to callback data.Bastien Montagne
In some cases it's important to always have a proper ID as reference, e.g. whene generating data supposed to represent main data-base...
2020-02-13Cleanup old special cases from some libquery callbacks.Bastien Montagne
We now have proper flagging for horrible loopback pointers...
2020-02-13Refactor libquery ID looper callback to take a single parameter.Bastien Montagne
Using a struct here allows to change given parameters to the callbacks without having to edit all callbacks functions, which is always noisy and time consuming.
2020-02-13Cloth: Optimization in self collisionmano-wii
15% to 20% improvement in cloth simulation performance with self-collision. The idea is to reduce the number of collisions computed by avoiding overlapping tris with the same combination (eg. (1,0) and (0,1)). Reviewed By: zeddb Differential Revision: https://developer.blender.org/D6474
2020-02-13Revert "Cleanup/MSVC: Enable C++ conformance mode on compiler versions that ↵Ray Molenkamp
support it." It is breaking compilation on some configurations, revert for now while i see what is wrong. This reverts commit 9fe469c110940af5d2525158305d5d365bd15276.
2020-02-13Fix T67649: clarify description of node update methodBrecht Van Lommel
2020-02-13Fix T71112: UILayout.activate_init when used in popups that refreshCampbell Barton
2020-02-13Fix crash using 'activate_init' in popup menusCampbell Barton
Reported in T71112
2020-02-13Fix crash using '--debug-handlers' command line argumentCampbell Barton
2020-02-13Cleanup: pass const variablesCampbell Barton
2020-02-13Fix T73727: Invalid event.type for Gizmo.modal callbackCampbell Barton
2020-02-13Workbench: Fix depth of field background being glitchyClément Foucault
2020-02-13Workbench: Fix premultiply alpha issue in transparent materialClément Foucault