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
2019-08-06Cleanup: clang-formatCampbell Barton
2019-08-06Fix Dopesheet transform regressions due to rB81dc76c19cffmano-wii
Functions that begin with the name `apply` closely resemble the main callback to apply. Ref T68137
2019-08-06Annotations: Remove Simplify option from UserprefsAntonio Vazquez
This option was an old option for Grease Pencil tools and it's not logic for Annotations. Differential Revision: http://developer.blender.org/D5426
2019-08-06Fix T68320: measure tool memoryleakmano-wii
It was a stupid mistake with the wrong pointer being referenced. It was a serious problem because the memory leak was considerable.
2019-08-06DrawManager: Fixed Assertion In WorkbenchJeroen Bakker
2019-08-06Fix crash when opening files with missing armature libariesSebastian Parborg
In the case where the library is missing, the armature object is replaced with an empty. This would crash the armature modifier. Now we check if the armature object really is an armature or not.
2019-08-06Cleanup: move utf8 offset conversion into BLI_string_utf8Campbell Barton
There isn't anything specific to text data with these functions.
2019-08-06Cleanup: spelling (neighbor)Campbell Barton
2019-08-06Fix T68291: crash snapping to both verts and edges with linked meshesPhilipp Oeser
this was also happening in snapping with the measure tool same method as in snap_mesh_polygon() (from rB59286ddcf80c) now used in snap_mesh_edge_verts_mixed() as well... Reviewers: mano-wii Maniphest Tasks: T68291 Differential Revision: https://developer.blender.org/D5422
2019-08-06Fix T66731: Part 3: Labels translations when tools are in 'compact' mode.Bastien Montagne
Very annoying that this whole UI thingy uses its own cooking... This is more a quick-slap fix than a proper solution, would expect it to work in nearly all cases though...
2019-08-06Annotation: Simplify only 3D annotations and reduce factorAntonio Vazquez
The old factor was too much and the lines could be changed. Anyway, when use simplify the number of points is reduced and the general shape is the same but not as smooth as original stroke. Also, the simplify is only used in 3D view. Note: Not sure if we would have to remove this simplify option for annotations.
2019-08-06Sequencer: frame offset feature usabilityCampbell Barton
- Expose the operator in the panel, (wasn't available in the UI at all). - Offset frame was hard coded to a color matching the background. Use the current frame color with dashes instead. - Overlay toggle had wrong name.
2019-08-06Cleanup: redundant const usageCampbell Barton
2019-08-06Fix T66100: WorkBench Banding IssuesJeroen Bakker
Color banding issues can appear, as result of the 8 bitdepth RGBA that is used in the viewport. This change will use `GPU_RGBA16F` for final renderings and for drawing textures. This allows displaying HDRI textures. Vertex Colors uses `GPU_RGBA16` to resolve color banding issues. All other modes use `GPU_RGBA8` to reduce bandwidth and gpu memory. Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D5179
2019-08-06Fix T66671: Memory Leak Material PreviewJeroen Bakker
During generating of a material preview with world lighting only the copy world was being freed. The material was removed from the main, but was not freed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5224
2019-08-06DrawManager: Fix Camera Images Interfere During SelectionJeroen Bakker
When drawing the selection buffer the camera images were drawn. This resulted in unneeded extra clicking for the user. This change will ignore camera images during the selection. Reviewed By: fclem Differential Revision: https://developer.blender.org/D5276
2019-08-06Fix T67437: Vertex Colors Not Visible In SculptModeJeroen Bakker
Recently Shader parameter names for UVMaps and vertex colors were renamed. The sculpt drawing code still used the old parameter names. Reviewed By: fclem Differential Revision: https://developer.blender.org/D5320
2019-08-06Fix T6813: Dopesheet Editor: Moving keyframes by a number value doesn't workmano-wii
It was a mistake to add the line `t->values_final[0] = t->values[0];`
2019-08-05Fix T68272: Annotations segment fault when use Simplify optionAntonio Vazquez
This error was introduced with the array dynamic system for very long stroke. Now, instead to use a custom code for simplify annotations, it uses the standard simplify BKE function more robust and with better results. The factor of 0.15f has been set fixed after testing a good result value.
2019-08-05Cleanup: use unsigned char for theme colorsCampbell Barton
Nearly all byte-color functions use 'uchar' causing casts when then colors were passed in. Declare as uchar to remove the need for casts.
2019-08-05Cleanup: quiet cast warnings in recent commitCampbell Barton
2019-08-05New BLI Function: projmat_from_window_regionmano-wii
Creates a projection matrix for a small region of the viewport. Reviewers: campbellbarton, brecht Differential Revision: https://developer.blender.org/D5412
2019-08-05Fix T67665 "Affect Alpha" in Texture Paint mode doesn't work as expectedSebastian Parborg
The "alpha lock" check was missing for the smear and soften brush. Added checks to make sure that the alpha values are kept the same. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5416
2019-08-05Fix (unreported) transfer mesh data operator not enabling autosmooth.Bastien Montagne
When we transfer custom normals and allow for data creation, we should also enable autosmooth on destination meshes.
2019-08-05Fix T68211: Transfer Mesh Data with Custom Normal crash when Auto Smooth is ↵Bastien Montagne
enabled. Code in modifier stack ensuring requested CDLayers are provided was not working very well for polynors in several cases: * We cannot share the orig mesh if we have to generate pnors/lnors; * Generating pnors without lnors was not possible.
2019-08-05Fix T67259 : Auto depth not working with multires in sculpt modemano-wii
Basically the solution is to call `DRW_shgroup_call_sculpt` when `BKE_sculptsession_use_pbvh_draw(...)` is true. Ref T67259 Reviewers: fclem, jbakker, brecht Reviewed By: fclem, brecht Maniphest Tasks: T67259 Differential Revision: https://developer.blender.org/D5396
2019-08-05Fix T68145: Bone Rotate Individual Axes fail.Bastien Montagne
Rotation matrix would not get updated every time it would need to, after own changes to handle 'big' rotations from keyboard input (rBcee484a4c51a3d2).
2019-08-05PyRNA: support separators in enum-items listsCampbell Barton
Resolves T68260
2019-08-05Fix T67109: n-gon tessellation error with co-linear edgesCampbell Barton
Improve the area calculation method for better precision, so faces offset from the center don't have a less precise area.
2019-08-05ED_view3D: Remove and replace `ED_view3d_select_id_read`mano-wii
It is very similar to `ED_view3d_select_id_read_rect`.
2019-08-05Fix (unreported0 bad usage of `do_versions_find_region()` in versionning code.Bastien Montagne
When NULL pointer can be a valid return value, one has to use `do_versions_find_region_or_null()` instead... Fixes asserts as reported in rBa2fe386153e.
2019-08-05Text: only un-comment blocks which are completely commentedCampbell Barton
It's common to select a block of code and comment it which may already contains some comments. Now only un-comment blocks which are completely commented (ignoring white-space). Makes toggle comments behave more usefully, resolves T68060.
2019-08-05Text: merge toggle comments into a single operatorCampbell Barton
This allows users to map comment/un-comment to be mapped to keys.
2019-08-05UI: rename rotate to orbit for viewport sensitivityCampbell Barton
Matches names of related preferences.
2019-08-05Cleanup: add bracesCampbell Barton
2019-08-04Cleanup: Fix eeve_lut arrays being duplicated in blender binary.Lazydodo
Both eevee_materials.c and workbench_deferred.c include eeve_lut.h which has its arrays marked as static leading to the blue_noise array being embedded into our binary twice. This change takes the arrays out of the header and properly marks them as const since they are lookup tables and should not be written to. Reviewers: fclem, brecht Differential Revision: https://developer.blender.org/D5346
2019-08-04Cleanup: Mark large arrays of of constant data as const.Lazydodo
For background information see D5345 Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D5345
2019-08-04Fix: msgfmt add support for cr-lf style line endingsLazydodo
linux did not recognize cr as a valid character. Reviewers: brecht Differential Revision: https://developer.blender.org/D5337
2019-08-04Sculpting: Remove Show Diffuse Color OptionYour Name
This should have been removed in 2.80 as the functionality was removed. This feature now does not do anything and can be removed. Differential Revision: https://developer.blender.org/D5411
2019-08-04Add a new Copy As Driver context menu option for properties.Alexander Gavrilov
It is a very common need to create drivers that set the value of a property to the value of some other property, but it currently requires multiple actions: Copy Data Path on the input property, adding a driver to the output property, selecting the input ID reference, and pasting the path. This adds a new Copy As Driver context menu option, which creates a complete driver in the clipboard that reads the current property, so all that remains is to paste it to the output property. It is also possible to paste just the new driver variable into an existing driver to combine multiple inputs. Reviewers: brecht, billreynish Differential Revision: https://developer.blender.org/D5382
2019-08-04Text Editor UIWilliam Reynish
Tweak Text Editor to fit better with the rest of Blender 2.8: - Move sidebar to the right - Add proper context menu - Move view toggles to the View menu - Change the indentation option to be an enum between spaces and tabs - Several layout tweaks Patch by @tintwotin / Peter Fog with additional tweaks by me. Differential Revision https://developer.blender.org/D5028 Reviewers: Brecht, Campbell
2019-08-04Tweak Brush Gradient UIWilliam Reynish
Gradient and Color are mutually exclusive, so we now communicate this in the UI much more clearly Differential Revision: https://developer.blender.org/D5395 Reviewers: brechrt
2019-08-04Fix T68202: GPencil Set Origin do not refresh until object is movedAntonio Vazquez
2019-08-04Cleanup: improve commentsCampbell Barton
2019-08-04Cleanup: spellingCampbell Barton
2019-08-033D View: preferences for rotate sensitivityCampbell Barton
Added because the current default is too fast for painting with tablets, see D5385. Turntable and trackball have different settings because turn-table uses an angle-per-pixel, where as trackball values are relative to the view-port size so a scale is used. The sensitivity is scaled by the pixel size so hi-dpi views don't rotate faster.
2019-08-033D View: aspect correct trackball rotationCampbell Barton
Hard coded aspect was used, doubling horizontal input however this caused sliding for views which didn't match this aspect. Calculate the aspect based on the view bounds instead.
2019-08-03Cleanup: trackball direction calculationCampbell Barton
Remove z axis flipping, only needed because x & y were flipped.
2019-08-03Fix T68161: typo in ui_text of RNA scene.objectsPhilipp Oeser
2019-08-02Fix freestyle tests failing when using WITH_PYTHON_SAFETYBrecht Van Lommel