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-08-22Snapping System: Return element type in ↵mano-wii
'ED_transform_snap_object_project_view3d_ex'
2019-08-22Fix T68971: Copy As New Driver from Material node creates a bad reference.Alexander Gavrilov
NodeTree structures of materials and some other data blocks are effectively node group data block objects that are contained inside the parent block. Thus, direct references to them are only valid while blender is running, and are lost on save. Fix Copy As New Driver to create a reference that goes through the owner data block, by adding a new runtime field to bNodeTree.
2019-08-22Transform: Snap Perpendicular: Avoid snapping to snapTargetmano-wii
2019-08-22Transform: Snap Perpendicular: Use `snapTarget` instead of `center_global`mano-wii
2019-08-22Nodes: Support for socket shapes other than circleCharlie Jolly
Previously there was already "draw_shape" property, but it was doing nothing. This commit renames the property to "display_shape". Furthermore, different shapes like SQUARE and DIAMOND are supported now. Currently, the shapes are drawn using the shader that also draws keyframes. In the future we might want to separate this. The new shapes are not used anywhere yet, but they can be used by addon developers and will probably be useful when we want to support different kinds node systems later. For example, different shapes can be used to distinguish between data and control flow. Differential Revision: https://developer.blender.org/D2829
2019-08-22Cleanup: typo in last commitCampbell Barton
2019-08-21Cleanup: vertex coordinate access, naming & minor changesCampbell Barton
This also splits vertex access and allocation so it's possible to copy coordinates into an existing array without allocating it.
2019-08-21Cleanup: use doxy groupsCampbell Barton
2019-08-21Cleanup: clang-formatCampbell Barton
2019-08-21Shading: Add White Noise node.OmarSquircleArt
The White Noise node hashes the input and returns a random number in the range [0, 1]. The input can be a 1D, 2D, 3D, or a 4D vector. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5550
2019-08-21Shading: Add more operators to Vector Math node.OmarSquircleArt
Add Multiply, Divide, Project, Reflect, Distance, Length, Scale, Snap, Floor, Ceil, Modulo, Fraction, Absolute, Minimum, and Maximum operators to the Vector Math node. The Value output has been removed from operators whose output is a vector, and the other way around. All of those removals has been handled properly in versioning code. The patch doesn't include tests for the new operators. Tests will be added in a later patch. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5523
2019-08-21Timeline: refactor cache drawingJacques Lucke
I did this mostly to get to know the point cache from this direction. This should not change anything from the user perspective.
2019-08-21Fix T68951: Incrementing int property causes overflowJacques Lucke
This was probably introduced in rBfdef1a6712b.
2019-08-21UI: Don't left align operator buttons in toolbarsJulian Eisel
This hack would make operator (push down) buttons without icons align their text to the left in toolbars. Everywhere else in Blender, we center it by default. We barely use operator buttons in toolbars anymore. Even if we do and there's a good reason to make text left aligned, it's better to use `uiLayout.alignment = 'LEFT'` to achieve the same effect, but without lowish-level hacks for a specific region type. Differential Revision: https://developer.blender.org/D5527
2019-08-21Fix T65671: Armature X-Mirror inconsistenciesDemeter Dzadik
This fixes bendy bone properties not being mirrored correctly Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5408
2019-08-21Fix T68444: outliner bone visibility not updatingNathan Craddock
Tags for update when pose bone visibility is toggled in the outliner.
2019-08-21Fix T68429: wrong pose bone hide icon in outlinerNathan Craddock
The hide icon was drawing instead of the disable in viewports icon.
2019-08-21Cleanup: use const arguments for vertex coordsCampbell Barton
2019-08-21Cleanup: remove unused derived-mesh API callsCampbell Barton
2019-08-21Transform: New Snap Option: Edge Perpendicularmano-wii
Part of T66420 Option for snapping to the nearest point of a reference coordinate. The patch also adds Edge Center and Perpendicular snaps to the ruler. {F7675906} Reviewers: campbellbarton, brecht Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D5543
2019-08-20Editor Transform: New Snap Option Middlemano-wii
Part of T66420 Reviewers: campbellbarton, brecht Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D5532
2019-08-20Cleanup: clang-format, sorted listsCampbell Barton
2019-08-20Fix crash with no grid unitmano-wii
2019-08-20Fix T61286: Viewport grid units not visiblemano-wii
The original code was commented on. Unlike blender 2.79, the grid units are now displayed only when RV3D_VIEW_IS_AXIS. The visible subdivisions in the grid are made by the GPU and depending on the pixel. The code used here only mimics this behavior and adds a bit of overhead. Reviewers: fclem, campbellbarton Subscribers: FloridaJo, zlsa, rl.amorato, EitanSomething Differential Revision: https://developer.blender.org/D4325
2019-08-20Cleanup: outliner range selectionNathan Craddock
No functional changes. This commit simplifies the recursive call, removes unneeded function calls, and adds comments.
2019-08-20Outliner: Add range extend selectNathan Craddock
Add support for ctrl+shift+lmb to default and industry compatible keymaps to select a range without removing the existing selection.
2019-08-19GPencil: Improve reproject operator in surface modeAntonio Vazquez
This change was applied to GP branch during the period 2.80 cannot be updated. Now the patch can be moved to master. The commit fix the problem when reproject over surface in multiframe mode and the surfaces can moved. Also improved the surface algorithm thanks to Lukas W (@geloescht). New Algorithm: Differential Revision: https://developer.blender.org/D4878 Tested by @mendio and @pepeland
2019-08-19GPencil: Change UI scale for z-depth offsetAntonio Vazquez
Actually, the value for this parameter must be in the order of 0.00001 and this makes the UI uncomfortable. Now, the value is divided by 1000 internally and the UI values are more logic. Reviewers: mendio, pepeland Differential Revision: https://developer.blender.org/D5528
2019-08-19View3D Grid: fix imperial grid drawingmano-wii
This is a step to finish the D4325 and fix the T61286. Currently the grid is highlighted in steps of 10 out of 10, which is wrong for the imperial units as seen in `buImperialLenDef`. The idea of the code is to pass the steps of the grid already dimensioned as a uniform. Another important thing to note is that subdivisions now only affect the grid without unity. This matches the 2.7x Blender versions. No performance loss (almost no gain too). Reviewers: fclem Subscribers: zlsa, rl.amorato Differential Revision: https://developer.blender.org/D4379
2019-08-19Outliner: sync selection on undo/redoNathan Craddock
Tags all outliner sync types on undo and redo operations.
2019-08-19Outliner: rename filter "invisible" to "hidden"Nathan Craddock
No functional changes. Renames the "invisible" object filter to "Hidden" to be more consistent.
2019-08-19UI: replace "reports to text" operator with showing info logBrecht Van Lommel
This operator only existed to be able to see multiple reports, now instead the info log can be opened and contents can be copy/pasted. Patch by Valentin (Poulpator) Differential Revision: https://developer.blender.org/D5510
2019-08-19Fix T68672: splash screen does not remain centered when window resizesLuis de Bethencourt Guimera
Differential Revision: https://developer.blender.org/D5508
2019-08-19Fix T68647: objects cannot be moved to collection if there is no activePhilipp Oeser
object This showed e.g. when deleting active object, then selecting using box select. This commit also lifts the restriction that linked objects could not be moved to a collection. Reviewers: campbellbarton, dfelinto Maniphest Tasks: T68647 Differential Revision: https://developer.blender.org/D5485
2019-08-19Fix T68779: "Match Texture Space" causes blender to crashPhilipp Oeser
need to access curve_cache from evaluated object. thx @sergey for pointing that out. Reviewers: sergey Maniphest Tasks: T68779 Differential Revision: https://developer.blender.org/D5526
2019-08-19Fix T68806: UI: underscores instead of spaces in some labels.Bastien Montagne
2019-08-18Fix T67008: Missing move handle and flickering in FileBrowserAndrea Weikert
Fix T67008: Missing move handle and flickering in FileBrowser Allow split regions (child regions) to contribute to the action zones (azone) of the parent region. This fixes the issues in file browser and also in the user preferences. Reviewers: Severin, mont29, campbellbarton Reviewed By: Severin, mont29, campbellbarton Subscribers: brecht, campbellbarton Maniphest Tasks: T67008 Differential Revision: https://developer.blender.org/D5273
2019-08-18GPencil: Interpolate pressure in active SmoothAntonio Vazquez
Now the pressure is interpolated in active smooth and not only position as before.
2019-08-17Cleanup: spellingCampbell Barton
2019-08-17Cleanup: correct commentsCampbell Barton
2019-08-17Fix T68723: GPencil - Split Select mode for Sculpt and Edit modeAntonioya
Actually, the selection mode is not visible in Sculpt mode when mask is enabled, but still is used. Also, the mode is shared between Edit mode and Sculpt mode and for meshes the selector is by mode. This commit splits the select mode in different properties and show the selector in Sculpt mode to define the Select mode. Also, the Select Mask button has been removed and now the Select Mode buttons work equal to Meshes where the select buttons are the mask enable too. Fixed some old code not valid detected during these changes. Differential Revision: https://developer.blender.org/D5500
2019-08-17Fix T68722: Improve Smooth algorithm for Thickness and StrengthAntonioya
Now the GPencil smooth algorithm uses a average value instead to use only two points and the interpolated value. Differential Revision: https://developer.blender.org/D5489
2019-08-16Outliner: Add range extend select and modify keymapNathan Craddock
Modifies selection keymap to be more conventional, with shift click for range selection and ctrl click for extend selection.
2019-08-16Outliner: Support box select on click+dragNathan Craddock
2019-08-16Outliner: set parent for entire selectionNathan Craddock
Set and clear parents for all elements in the selection in the outliner. This also removes the popup menu for setting the parent to curves, armatures, and lattices. It makes more sense to keep the outliner simple and only do object parenting.
2019-08-16Outliner: Fix scenes in scene display not starting openNathan Craddock
2019-08-16Outliner: Fixes to show active and scroll pageNathan Craddock
Adjusts the scrolling of show active and scroll page operators to use the `outliner_scroll_view` operator to ensure scrolling does not leave the outliner bounds. Also changes show active to expand subtrees containing all instances of the active object, which may be linked to multiple collections.
2019-08-16Outliner: set scene camera on camera data activateNathan Craddock
2019-08-16Outliner: Draw sequencer and vertex group iconsNathan Craddock
Draw icons for sequencer and vertex groups. The sequence types need updates because they all draw in various colors and some sequence types do not have an icon.
2019-08-16Outliner: Use F2 to rename active outliner itemNathan Craddock
Previously with F2 mapped to the global rename active object operator, it was not posible to use the conventional F2 to rename any outliner element like collections or object data. This adds F2 to the outliner keymap to call the outliner rename operator rather than the popup rename object operator.