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-06Cleanup: use BKE_ prefix for BKE_colortools.hCampbell Barton
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 T68227: Pinning the particles system data-block causes errorSybren A. Stüvel
The 'Seed' setting is not part of the pinned data-block. When pinning, the local variable `psys` is `None`, and this wasn't properly checked for when drawing the 'Seed' setting.
2019-08-06Keymap: add sequencer left/right selectCampbell Barton
Matches graph editor keys. D5192 by @tintwotin
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-06Refactor Paint Overlay Opacity PanelJeroen Bakker
It is now possible to translate this panel. Due to the previous structure the translation tools were not able to pick the strings up as translatable strings. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5279
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-06UI: rename Border to Box SelectCampbell Barton
Missed in previous renaming commits.
2019-08-06Fix T68283: Missing operator in graph context menuCampbell Barton
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-05Cleanup/windows: Remove 32 bit support from make.bat helper scriptLazydodo
This change removes 32 bit support from the helper make.bat scripts as we are dropping official 32 bit support, you can still build for 32 bit by configuring your build yourself using cmake and pointing the LIBDIR cmake variable to your own 32 bit library folder.
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-05Cycles: Fix wrong number of threads on multi-socket machinesSergey Sharybin
The issue was caused by a limitation of GetNumaNodeProcessorMask(): on systems with more than 64 processors, this parameter is set to the processor mask for the node only if the node is in the same processor group as the calling thread. Otherwise, the parameter is set to zero. Patch from Max Dmitrichenko, thanks!
2019-08-05Build: add ninja target to make wrapperBrecht Van Lommel
To use the ninja build tool which is typically faster than make, especially for quick rebuilds.
2019-08-05Build: add config for developersBrecht Van Lommel
This has faster builds, error checks and tests. The number of cmake options for this type of thing has grown over the years and it's convenient to be able to point new developers to a single target. Previously the combination of all these options did not work correctly, now all tests should pass. The easiest way to use this is with the make wrapper, for example: make full developer debug Or set it manually with CMake: cmake -C ../blender/build_files/cmake/config/blender_developer.cmake . Differential Revision: https://developer.blender.org/D5149
2019-08-05Build: disable address sanitizer for Cycles optimized kernels with GCCBrecht Van Lommel
It's extremely slow to compile and run, so just disable it unless WITH_CYCLES_KERNEL_ASAN is manually enabled. For Clang it's always enabled since that appears to work ok. This also limits the -fno-sanitize=vptr flag to the Cycles kernel, as it was added specifically to work around an issue there. Differential Revision: https://developer.blender.org/D5404
2019-08-05PyRNA: support separators in enum-items listsCampbell Barton
Resolves T68260
2019-08-05GTest: test cases for polyfill2d bug T67109Campbell Barton
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-05Cycles: Fix compilation on 32bit Linux with GCC-9Sergey Sharybin
We don't use explicit SIMD flags on 32bit, so trying to use intrinsics was causing issues.
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: remove underscore prefix for used varsCampbell Barton
Also remove unused vars.
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