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-10-04GPU: Platform Support LevelJeroen Bakker
Adds a check when starting blender if your platform is supported. We use a blacklist as drivers are updated more regular then blender (stable releases). The mechanism detects if the support level changed or has been validated by the user previously. Changes can happen due to users updating their drivers, but also when we change the support level in our code base. When the user has seen the limited support level message it is saved in the user config. It would be better to have a system specific config section, but currently not clear what could benefit from that. When the platform is unsupported or has limited support a dialog box will appear including a link to our user manual describing what to do. **Windows** Windows uses the MessageBox that is provided by the windows kernel. **X11** We use a very lowlevel messagebox for X11. It is very limited in use and can be fine tuned when needed. **SDL/APPLE** There is no implementation for SDL or APPLE at this moment as the platform support feature targets mostly Windows users. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5955
2019-10-04Fix: Gain socket is not available in ridged multifractal.OmarSquircleArt
The gain socket in the Musgrave node should be available in the ridged multifractal mode. The logic for the availability was incorrect. Reviewers: brecht Differential Revision: https://developer.blender.org/D5989
2019-10-04Fix T70504: Moving nodes in the node editor stops after hotkey is liftedPhilipp Oeser
This basically reverts 540eb2dc1e57 for an alternative solution that only enforforces release_confirm [ignoring the preference] on mouse for the node editor. Approved by @brecht in T70504.
2019-10-04Fix T70454: Environment Texture Node Properties "reload" and "packing" not ↵Philipp Oeser
working The bug was basically just caused by a missing 'edit_image' and 'edit_image_user' pointer in context for 'node_shader_buts_tex_environment_ex'. So adding the following there would be enough to fix the bug: uiLayoutSetContextPointer(layout, "edit_image", &imaptr); uiLayoutSetContextPointer(layout, "edit_image_user", &iuserptr); However, I would suggest using the full-flegged uiTemplateImage (just as 'node_shader_buts_tex_image_ex' does -- instead of a "handmade" subset) for the following consistency reasons: - Layout was using single column for image textures, but not environment textures - Save / Discard feature on editing the image was there for image textures, but not environment textures - Environment textures: Color Space was displayed on node (but not properties) - Environment textures: Animation / Sequence settings were displayed on node (but not properties) Cant think of a reason for _not_ displaying the whole set for environment textures (just as for regular image textures)? Maniphest Tasks: T70454 Differential Revision: https://developer.blender.org/D5988
2019-10-04Sculpt: Clay Strips brush tweaksPablo Dobarro
- Fix accumulate by allowing normal radius greater than one. Now it works as it should and it should be enabled by default - Make the square test sharper. This gives a lot more definition to the brush, even when working with fewer polygons Reviewed By: brecht Differential Revision: https://developer.blender.org/D5984
2019-10-04Fix T70499: Can't change Brush Texture Rotation without holding the Shift key.Pablo Dobarro
Reviewed By: brecht Maniphest Tasks: T70499 Differential Revision: https://developer.blender.org/D5985
2019-10-04Fix: Clamping in Map Range node works incorrectly.OmarSquircleArt
The clamp option in the Map Range node doesn't work correctly when the inputs are linked. The code didn't put that into considration. Reviewers: brecht Differential Revision: https://developer.blender.org/D5987
2019-10-04Fix T70095: Quadriflow crash running on a messy meshSebastian Parborg
Quadriflow does not support non manifold meshes. (Edges with > 3 connected faces and discontinuous face normal directions) While it does sometimes "work" in these configurations, the results are not good and in most cases it just flat out will crash. Added a sanity check to make sure that the input mesh is manifold. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5877
2019-10-04Fix T70481: Segfault printing 'private data' evaluated IDs.Bastien Montagne
This commit solves the bug itself (code was broken when real_id owner of the private data ID could not be found), and generates a more sensible representation for all evaluated IDs, makes no sense to display them as being part of `bpy.data....`!
2019-10-04LibOverride: Fix last main issue with overriding custom properties.Bastien Montagne
Now, custom props defined as overriddable can be overridden, saved, reloaded, etc. That fixes the last main issue with them. Note that custom props still have a lot of glitches and weirdness in their overriding behavior, but for now the most important is finally achieved, will let them rest and settle a bit, those have been incredibly painful to tame... :(
2019-10-04LibOverride: Fix bad handling of 'store' callback in IDProps case.Bastien Montagne
We need same kind of default handling for IDProps as we already have for the diff callback.
2019-10-04GPencil: Reduce VBO memory footprint when using modifiersAntonio Vazquez
Before, the modifiers were evaluated in Draw Engine and this required to calculate a factor to increase the VBO size. Now, the modifiers are evaluated in Depsgraph and the Draw Engine receives the evaluated stroke with the final number of vertices. As the number of vertices is the final value already, if Draw Manager increases the number with the modifiers only increases the memory with empty space because never would be used. This commit removes this double calculation, reducing the memory usage and removes a loop to calculate the size by modifier too. Also, the function getDuplicationFactor() has been removed because is not required anymore.
2019-10-04Fix expanding paths ignoring data-block librariesCampbell Barton
- Image views. - Sequencer text strip font. - Text check for modified/reload. - Collada image export. - Brush icons.
2019-10-03Text: make selection and cursor editable from RNAKai Jægersen
2019-10-03Correct error in last commitCampbell Barton
2019-10-03Text: add Text.cursor_set(...)Kai Jægersen
Place the cursor, optionally set selection.
2019-10-03Text: add Text.select_set(...)Kai Jægersen
Support setting the selection for a text buffer with support for negative indices, select_set(1, 1, -1, -1) selects the entire buffer.
2019-10-03CMake: quiet warning in quad reflowCampbell Barton
2019-10-03Fix: Unit tests on windows.Ray Molenkamp
Problem was twofold 1) `GENERATOR_IS_MULTI_CONFIG` is a property not a variable so the test for it would always be false, unless you set a custom CMAKE_INSTALL_PREFIX (like the buildbot does) the unit tests would have a wrong working directory and complain about missing dlls or blender executable 2) Tests added outside of `/test` (like libmv) would have no working folder set since the variable would not be visible for them. consulted @sergey who voiced the opinion that duplicating the code to the test macro was slightly less evil than moving it to the main CMakeLists.txt
2019-10-03Fix T70484: GPencil particles crash when original stroke is hiddenAntonio Vazquez
Due the internal design of the drawing engine and the special requirements for 2D inside 3D, it's required to keep the original stroke visible in order to display the particles. If the original stroke is hidden, the particles are hidden too. This commit only fix the segmentation fault. Make visible the particles when the original is hidden would require a complete redesign and maybe would break some 2D features.
2019-10-03UI: Register File Browser as Child/Dialog-Window for the OSJulian Eisel
For many users, this will make the File Browser window behave more like what they would expect. It addresses the issue of the File Browser becoming hidden behind the main window by clicking anywhere in the latter. It communicates the interruptive, but temporary nature of the operation a bit better. Further, on tiling window managers the File Browser now opens as floating by default, like in other applications. Note that this also makes sure the File Browser is always opened as separate window, so it doesn't re-use the Preferences, or any other temporary window anymore. This seems to have been a common annoyance. More concretely, this makes the File Browser window behave as follows: * Stays on top of its parent Blender window, but not on top of non-Blender windows. * Minimizes with its parent window * Can be moved independently * Doesn't add an own item in task bars * Doesn't block other Blender windows (we may want to have this though) * Opens as floating window for tiling window managers (e.g. i3wm/Sway) Further notes: * When opening a file browser from the Preference window (or any temporary window), the main window, as the file browsers parent is moved on top of the Preferences, which makes it seem like the Preferences were closed. This is the general issue of bad secondary window handling as window activation changes. I made it so that the window is moved back once the file browser is closed. This behavior is confusing and would be nice to avoid. It's a separate issue though. * On most window managers on Linux the temporary window can not be minimized and maximized, they disable that for dialog windows. * On Windows and macOS, only minimizing is disabled, as there is no decent way yet to restore a window if it's not shown in the taskbar. Reviewed By: Brecht van Lommel, Campbell Barton, William Reynish Edits and macOS implementation by Brecht. Differential Revision: https://developer.blender.org/D5810 Part of T69652.
2019-10-03Mesh: simple extract mask optimizationsCampbell Barton
- Avoid per-vertex custom-data lookup - Break once a face has a mask vertex.
2019-10-03Fix extract mask freed memory use & leakCampbell Barton
2019-10-03Fix sculpt normal update in SculptDraw brushPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5981
2019-10-03UI: Add Buttons to Shader Editor Slots PopoverHans Goudey
Assign, select, deselect buttons added when in edit mode to complete the functionality of the shader editor vs. the properties panel. Reviewed by: brecht Differential Revision: https://developer.blender.org/D5768
2019-10-03Fix T70125: crash on startup in Linux with some tablet types connectedBrecht Van Lommel
2019-10-03Fix T70299: Grab brush not working as expected when Ctrl is pressPablo Dobarro
Reviewed By: brecht Maniphest Tasks: T70299 Differential Revision: https://developer.blender.org/D5920
2019-10-03Fix T66312: Undo does not restore normals correctly in sculpt modePablo Dobarro
Reviewed By: brecht Maniphest Tasks: T66312 Differential Revision: https://developer.blender.org/D5895
2019-10-03Sculpt: Disable remesh operators with MultiresPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5964
2019-10-03Fix T69227: Ignore inbetween mouse events in Snake HookPablo Dobarro
Reviewed By: brecht Maniphest Tasks: T69227 Differential Revision: https://developer.blender.org/D5977
2019-10-03Fix T70102: Mask Extract bad solutionPablo Dobarro
Reviewed By: brecht Maniphest Tasks: T70102 Differential Revision: https://developer.blender.org/D5978
2019-10-03Fix T70466 Rendering error when drawing multi-material meshesClément Foucault
2019-10-03Subdiv CCG: Cleanup, remove unused data from adjacency storageSergey Sharybin
Makes it easier to initialze adjacency, avoid extra re-allocations during initialization, reduces memory footprint.
2019-10-03OpenSubdiv: Add accessor to vertex edges via refiner C-APISergey Sharybin
2019-10-03i18n: Add Slovak language.Bastien Montagne
2019-10-03Fix T68945: VSE - Improper audio on frame 1Jörg Müller
This has already been fixed in 8d207cdc3b307fa20bc5b29059c596306aa2a65c as fix for T52472: VSE Audio Volume not set immediately, but I failed to backport it to upstream audaspace which is the reason the problem was back.
2019-10-03Fix T69216: "assert" not highlighted in text editorAnthony Eriksson
Workaround limitations of formatting code by putting longest names first. Differential Revision: https://developer.blender.org/D5613
2019-10-03Fix T69288: release confirms preference should not affect node editorBrecht Van Lommel
Was missing from new macro operators.
2019-10-03Cleanup: unused structs, struct membersCampbell Barton
2019-10-03Cleanup: argument naming, redundant NULL checksCampbell Barton
2019-10-03Fix memory leak in loop-cut error caseCampbell Barton
2019-10-03Fix assert in image cropCampbell Barton
2019-10-03Fix incorrect flag check in gpencil subdiv modifierCampbell Barton
2019-10-03Fix pointer assignmentCampbell Barton
2019-10-03Fix F-Key icon displayCampbell Barton
2019-10-03Fix error in opensubdiv topology refiner face matching checkCampbell Barton
2019-10-02Fix T69924: Prefetch stops when moving playheadRichard Antalik
Fix T70194: Prefetch freezes Blender in some cases - Initialize depsgraph in isolated bmain struct. - Fix prefetching range (forgot in initial prefetch commit). - Fix crash - Add check if prefetch job is initialized and running. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5899
2019-10-02Implement a user preference for the default Auto Handle Smoothing mode.Alexander Gavrilov
The default was changed with an initial implementation of the feature. With the feedback from animators, having a behavior which affects curves outside of a changing range is not convenient for professional animators working on high quality character animation. On the other hand, automatic smoothing is better for casual animation of object motion. This change adds an ability to change the default via User Preferences. Differential Revision: https://developer.blender.org/D5875
2019-10-02UI: add NLA track and channel theme colorBrecht Van Lommel
Patch contributed by Paul (Thirio). Differential Revision: https://developer.blender.org/D5967
2019-10-02UI: use consistent text box theme colors in search popupsBrecht Van Lommel
This solves an issues where these text fields would use menu background colors, making it difficult to create a correct theme. Default theme looks the same, only Blender Light now shows a dark text field. Patch contributed by Paul (Thirio). Differential Revision: https://developer.blender.org/D5906