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-09-10Refactor: move World .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Cleanup: Remove outliner edit mode context menu entriesNathan Craddock
The outliner context menu has options to enter and exit edit mode, but they only show in edit mode, and they don't work. This removes the broken entries and related code. Part of T77408 Differential Revision: https://developer.blender.org/D8641
2020-09-10Outliner: Move mode toggling to left columnNathan Craddock
Add a column of icons in the left gutter of the outliner for controlling the interaction modes of objects. When an object is in a mode other than object mode, the mode icon will draw to the left of that object. Any other objects that are valid to be added or swapped into the mode are drawn with a dot to the left of the object. Clicking the dot to the left of an object will swap that object with the current active object in the interaction mode. For edit and pose modes, ctrl clicking the dot will add that object to the current mode. Clicking the mode icon next to the active object removes it and all other objects from the current mode. The behavior is nearly identical to the previous edit/pose mode toggling by selecting the mesh and armature datablocks, with additional support for all interaction modes. Currently two undo steps are pushed to prevent an assert. Part of T77408 Manifest Task: https://developer.blender.org/T68498 Differential Revision: https://developer.blender.org/D8641
2020-09-10Refactor: move Camera .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10GPencil: Fix unreported Eraser Point problem for one point selectedAntonio Vazquez
The Eraser Point mode was erasing too much points. This eraser existed before the new Soft erasers were created and now it was working wrongly. The eraser point mode must remove the points below the eraser cursor at the first contact. For more soft erasers, the new Soft modes can be used.
2020-09-10Refactor: move Curve .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10clang-formatJacques Lucke
2020-09-10Refactor: move MetaBall .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Material .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Light .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Image .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10GPUBatch: Do not unbind shader after drawing.Clément Foucault
This allows subsequent redraw to work just like before. However a better safeguard system against setting the uniforms in the wrong shader would be nice to have.
2020-09-10GPUImmediate: Fix wrong resize of immBatchAtMostClément Foucault
2020-09-10GPUState: Fix Point Size issuesClément Foucault
The point size was not updated in the right branch and setting the point size via GPU_point_size was effectively disabling its use.
2020-09-10Refactor: move Brush .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move PaintCurve/Palette .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Fix possible use-after-free for number slider buttonsJulian Eisel
Mistake in e6f0b60c2e91.
2020-09-10Refactor: move MovieClip .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Fix T80651: Material tab disappearsSebastian Parborg
Always return true if the object can have materials. Even if there are not currently any materials assigned to the object.
2020-09-10Refactor: move VFont .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Cleanup: extract functions for PackedFile .blend I/OJacques Lucke
2020-09-10Fix T79737: ERROR ACCESS VIOLATION when switching to eevee rendered viewAristotelis Dossas
This prevents Blender from crashing when switching to rendered view and the grid_data is NULL in the lightcache (due to possible corruption), by switching to the fallback lightcache. The fix extends the solution for possible corruption in the cube_data as well. Fix T79737 Reviewed By: fclem Differential Revision: https://developer.blender.org/D8835
2020-09-10GL: Wrap extension support inside GLContextClément Foucault
This makes it possible to disable all the extensions when forcing workarounds. Also it will allow future options to selectively disable each extension to know which one is buggy.
2020-09-10GL: Add fallback debug layerClément Foucault
This is to improve debugging on older hardware that may not support 4.3 debug capabilities (like Macs). This avoids sprinkling glGetErrors manually. This might still be needed to find the root cause since not all functions are covered. This overrides the functions pointers that GLEW have already init. This is only enabled if using --debug-gpu option and the debug extension are not available. This also cleanup the usage of GLContext::debug_layer_support and use wrapper to set object labels.
2020-09-10Refactor: move Text .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move LineStyle .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move bNodeTree .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Cleanup: IO, inline namespace declarationsSybren A. Stüvel
Replace nested `namespace blender { namespace io {` with `namespace blender::io {`. No functional changes.
2020-09-10Cleanup: USD, inline namespace declarationsSybren A. Stüvel
Replace nested `namespace blender { namespace io { namespace usd {` with `namespace blender::io::usd {`. No functional changes.
2020-09-10Cleanup: Alembic, inline namespace declarationsSybren A. Stüvel
Replace nested `namespace blender { namespace io { namespace alembic {` with `namespace blender::io::alembic {`. No functional changes.
2020-09-10Refactor: move keyingset .blend I/O to blenkernelJacques Lucke
Ref T76372
2020-09-10Fix T79626: 2.91 Mantaflow crash when adaptive domain + noise are enabledSebastián Barschkis
Crash was caused by an incorect domain size of the noise solver and an index out of bounds.
2020-09-10Refactor: move Action .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move preview image .blend I/O to blenkernelJacques Lucke
Ref T76372
2020-09-10Fix T80516: Hook modifier crashes without vertex group dataCampbell Barton
Checks for existence of a vertex group must check the array isn't NULL. Regression in c1386795a922.
2020-09-10UI: Outliner: Change Sequence Display ModeAaron Carlisle
This commit renames the Sequence Display Mode to Video Sequencer. THis matches the editor name in the editor list. This commit also adjusts the tooltip because the data show in this dispay mode is not strickly speaking "data-blocks". Ref D7716
2020-09-10Cleanup: spellingCampbell Barton
2020-09-09Fix for failing constraints testPhilipp Oeser
Caused by own rB6dc7266cf1f4. When overriding context for constraint operators (such as in constraint tests), it could happen that context "active_pose_bone" is set, but "pose_bone" isnt. Now check for both in ED_object_pose_constraint_list.
2020-09-09Fluid: Fix for GSoC display controls projectSebastián Barschkis
Load all grids when the grid display option is turned on. Otherwise, the grid from the viewport display options might not have been loaded from the cache.
2020-09-09UI: Fix Icon drawing on MacOSClément Foucault
It seems that using a vertex shader using both `gl_InstanceID` and `gl_VertexID` is causing some issues on MacOS + Intel Iris. Regression introduced by rB052538edc1fba109d3427471047611888ed13bea
2020-09-09Cleanup: Remove warning re: const qualifier discardedDalai Felinto
Warning introduced on a5db981b0ea044313239c3cc2ee92d.
2020-09-09Cleanup: reduce variable scopeJacques Lucke
2020-09-09Fix T80590: Popups clipped by status-bar and top-barJulian Eisel
The drawing of popus should be done with the window's default viewport and scissor. Previous functions may change these, so they should be explicitly reset.
2020-09-09Geometry: add Attributes panel for PointCloud and HairBrecht Van Lommel
There is a list of attributes, along with operators to add and remove attributes. For adding, there are a few standard attributes that can be added quickly, as well as a popup to create a custom attribute. Ref T76659 Differential Revision: https://developer.blender.org/D8636
2020-09-09Geometry: use generic attributes for Hair and Point CloudsBrecht Van Lommel
Instead of custom data layer with special types, using general Vector and Float attributes. Ref T76659 Differential Revision: https://developer.blender.org/D8635
2020-09-09Geometry: add .attributes in the Python API for Mesh, Hair and Point CloudBrecht Van Lommel
This puts all generic float/int/vector/color/string geometry attributes in a new .attributes property. For meshes it provides a more general API for existing attributes, for point clouds attributes will be used as an essential part of particle nodes. This patch was implemented by @lichtwerk, with further changes by me. It's still a work in progress, but posting here to show what is going on and for early feedback. Ref T76659 Differential Revision: https://developer.blender.org/D8200
2020-09-09Fix T76346: Moving objects in outliner doesn't update local collectionsDalai Felinto
The fix involves going over ALL the possible combinations of viewlayers and viewports and re-sync. I tested this with multiple windows, multiple scenes and multiple viewlayers. Since (for now?) the operation of syncing the local layer collections is not too expensive, this is not so bad. In theory we could improve this by checking if the collection the object was moved to and from is in the scene before iterating over it. I don't think it is worthy though. Thanks Arun Parolikkal for the initial attempt on D8342. Final patch reviewed by Brecht Van Lommel.
2020-09-09Cleanup: reduce variable scopesJacques Lucke
2020-09-09Fix T79038: Blender freezes on vertex paint on linked mesh dataJeroen Bakker
This change promotes the work-a-round to the current solution. There are options to solve this better, but needs more design.
2020-09-09Add nullptr checks in the depsgraph physics relation builderSebastian Parborg
Without these check ASAN complains about null pointer member access. Reviewed By: Sergey Differential Revision: http://developer.blender.org/D8847