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-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-07Fix dpesgraph wrongly refcounting NLA strip actions when duplicating IDs.Bastien Montagne
NLA strips are users of their action, so we need to pass along ID management flags. This commit also cleans up a bit things by passing along ID_CREATE/COPY flags instead of dummy booleans...
2018-11-07Fix T57390: properties editor crash creating new scene in some cases.Brecht Van Lommel
2018-11-07Physics baking: tag interface locked during backingSergey Sharybin
This is a variation of older hach which was setting is_rendering to truth to tell window manager to not do dependency graph update. In the nowadays reality window manager is supposed to do dependency graph update during rendering, that was the whole purpose of CoW project. This works fine for rendering, since render engines has their own dependency graphs. Physics, on the other hand, is using same dependency graph as used for the viewport, and what's worse: it modifies objects from it. For example, in a single threaded evaluation ASAN instantly catches case when cached BVH constructed by smoke is referencing looptri layer which is freed by viewport's update. Now we are locking interface, allowing only a subset of navigation operators to run. This seems to be safest way of dealing with the problem. There are following variations which we can consider doing: - Allow viewport navigation, which will require making it so draw manager does not write to the objects. A bit dangerous, since smoke simulation might in theory modify data which is also used by a draw manager. - Make physics simulation to have own dedicated dependency graph, solving all threading conflicts all together. This fixes crash when baking smoke. Steps to reproduce: - Call "Quick Smoke" - In smoke panel, click "Bake".
2018-11-07Fix 'Set and Use 3D Cursor' normal editing command.Howard Trickey
Was missing a return of OPERATOR_RUNNING_MODAL for that subcommand.
2018-11-07Fix installing Blender due to missing icons.Bastien Montagne
2018-11-07CMake: missed removing from file listCampbell Barton
2018-11-07Dopesheet: correctly use floating point threshold in ActKeyColumn tree.Alexander Gavrilov
After some thinking, since the tree itself does always use floating point numbers, it is better to use the threshold - but correctly.
2018-11-07Fix hidden action-zone interactionCampbell Barton
2018-11-07Fix for hidden regions becoming activeCampbell Barton
2018-11-07Fix redraws from non-existing scrollbarsCampbell Barton
Cursor motion was often causing redraws. Distance to scrollbars that don't exist in hidden regions caused redraws (for alpha fading). Check if scrollbars are used before calculating fade.
2018-11-07Tool System: display tooltip generation errorCampbell Barton
While this shouldn't ever happen there have been reports of tooltip creation failure - keep this until the issue is resolved.
2018-11-07Merge branch 'master' into blender2.8Campbell Barton
2018-11-07Cleanup: use STRPREFIX for mount point checksCampbell Barton
From D3846 by @kostex
2018-11-07Multi-Objects: MBALL_OT_select_similarHabib Gahbiche
Compared to previous implementation, the following has been changed: * Threshold: is now an absolute value. This allows a comparison with e.g. radii that are much larger than selected radius. This is also consistent with `CURVE_OT_select_similar` * Radius in world space is the average of the radius scaled in x, y and z directions * Since MetaBalls are symmetrical, rotation is only considered from 0 to π/2. So for example rotations of 90° and -90° are considered equal. This is also consistent with the way `CURVE_OT_select_similar` works. Fix/changes from committer (Dalai Felinto): * Drawing not updating after changes. (see original patch for details). Reviewers: dfelinto Differential Revision: https://developer.blender.org/D3895
2018-11-07Icons: add ops.paint.weight_sampleCampbell Barton
2018-11-07Icons: remove unused vertex paint iconsCampbell Barton
Also update names to match enum.
2018-11-07Cleanup: styleCampbell Barton
2018-11-07Multi-Objects: MBALL_OT_select_allDalai Felinto
Based on D3893 by Habib Gahbiche.
2018-11-07Cleanup: remove GPENCIL_OT_sculpt_selectCampbell Barton
This can be done via WM_OT_context_set_enum
2018-11-07Merge branch 'master' into blender2.8Campbell Barton
2018-11-07Multi-Objects: CURVE_OT_select_similarHabib Gahbiche
Implemented the following methods: * SIMCURHAND_TYPE * SIMCURHAND_RADIUS * SIMCURHAND_WEIGHT * SIMCURHAND_DIRECTION Limits: * DIRECTION does not support surfaces, because `BKE_nurb_bpoint_calc_normal` does not work with Nurbs of type `CU_CARDINAL`. This also didn't work prior to this patch, so we wait until surfaces are properly supported in EditMode. * Also DIRECTION should take scaling into consideration. We need our own versions of BKE_nurb_bpoint_calc_normal/bezt. * Threshold default is too large. Not sure if it's better to change the default or scale the threshold in code. Differential Revision: https://developer.blender.org/D3846 Changes from committer (Dalai Felinto): * Moved nurb_bpoint_direction_worldspace_get/bezt to functions. * Comments hinting at the mode (direction) that require scaling to be taken into account - to be addressed by patch creator in a future patch.
2018-11-07Cleanup: renmae ePaintTexture(Projective) -> 3DCampbell Barton
Matches ePaintTexture2D, less verbose.
2018-11-07Paint: paint.brush_select now supports gpencilCampbell Barton
Replace grease pencil specific brush select operator.
2018-11-07Paint: update shortcut detection for new logicCampbell Barton
2018-11-07Cleanup: naming (inconsistent paint_mode term)Campbell Barton
2018-11-07Paint: bring back brush switchingCampbell Barton
Was temporarily replace with code that used the tool-system, bring back logic which cycles and toggles brushes. Tool slots are used for the initial brush, after that toggle or cycle is used.
2018-11-07Cleanup: styleCampbell Barton
2018-11-07UI: Move pin icon to the right in the context breadcrumbs.Pablo Vazquez
Leaves more room for the actual breadcrumbs path, and it's less intrusive. Thanks Luciano for the suggestion!
2018-11-07UI: Use icons for some operators.Pablo Vazquez
* Area and Workspace duplicate. * Toggle Area Fullscreen * Operator Search * Workspace reorder to front/back (arrows help to know which direction means front/back)
2018-11-06Fix broken shortcuts in F3 'operator search' menu.Bastien Montagne
From own changes in that area... Now we also enforce handling shortcuts in case relevant drawflag of searchbutton is set. Should allow to cover all cases, hopefully.
2018-11-06Fix T57656: Keyframes cannot be selected in Grease Pencil Dopesheet.Alexander Gavrilov
Partial revert of rBf250f9256e065: GP and masks use integer frames, so float code isn't working or even needed.
2018-11-06Implement an Armature constraint that mimics the modifier.Alexander Gavrilov
The main use one can imagine for this is adding tweak controls to parts of a model that are already deformed by multiple other major bones. It is natural to expect such locations to deform as if the tweaks aren't there by default; however currently there is no easy way to make a bone follow multiple other bones. This adds a new constraint that implements the math behind the Armature modifier, with support for explicit weights, bone envelopes, and dual quaternion blending. It can also access bones from multiple armatures at the same time (mainly because it's easier to code it that way.) This also fixes dquat_to_mat4, which wasn't used anywhere before. Differential Revision: https://developer.blender.org/D3664
2018-11-06Cleanup: remove unused brushesCampbell Barton
2018-11-06Brush: split out vertex paint tool & blend modeCampbell Barton
- Vertex & weight paint now use the 'blend' setting. - Weight paint now has it's own tool setting, since weight paint doesn't deal with color - we'll likely support different tools eventually.
2018-11-06Cleanup: rename fast-heap -> heap-simpleCampbell Barton
In general prefer API names don't start with adjectives since it causes grouping of unrelated API's for completion.
2018-11-06Cleanup: move fast heap into own source & headerCampbell Barton
2018-11-05BLI_heap: implement a limited but faster version of heap.Alexander Gavrilov
If the user only needs insertion and removal from top, there is no need to allocate and manage separate HeapNode objects: the data can be stored directly in the main tree array. This measured a 24% FPS increase on a ~50% heap-heavy workload. Reviewers: brecht Differential Revision: https://developer.blender.org/D3898
2018-11-05Paint: add tool offset & mode to runtime dataCampbell Barton
It was getting too impractical to call BKE_paint_brush_tool_info which needed to lookup the scene pointers. Now each store tool offset and brush mode in 'Paint.runtime'
2018-11-05Missing from last commitCampbell Barton
2018-11-05Paint: add BKE_paint_ensure to initialize toolsettingsCampbell Barton
Each mode had its own logic for initializing paint structs, move to a single function. Also remove "BKE_brush_get_gpencil_paint", entering grease pencil mode is responsible for ensuring the data is created.
2018-11-05Cleanup: use boolCampbell Barton
2018-11-05UI: Add back line to curve mapCampbell Barton
D3894 by @charlie with edits
2018-11-05Cleanup: correct last commit, also use font_id varCampbell Barton
2018-11-05Gizmo: use fonts for drawing 3D axis charactersCampbell Barton
2018-11-05Gizmo: tweak 3D view navigation axis sizesCampbell Barton
This now matches original design more closely, see: T54723.
2018-11-04GP: Reorganize Canvas GridAntonioya
Now the grid is always controlled by the topbar selector and not in the canvas panel. To have two places to define orientation was confuse. The orientation by default (no lock) is always to view plane.
2018-11-04BLI_heap: add an API function to directly read the top node value.Alexander Gavrilov
It is very commonly needed in loop conditions to check if the items in the heap are good enough to continue.
2018-11-04Merge branch 'master' into blender2.8Campbell Barton