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-10Fix missing manipulator update when toggling bone lockJulian Eisel
2019-10-10Fix: Manipulator visible if root or tip of locked bone is selectedJulian Eisel
When an edit-bone was locked, we hid the transform manipulator for it. But only if the bone itself was selected, not when the root or tip were selected, even though they are locked then too. So this makes sure the manipulator is shown in neither case.
2019-10-10Annotations: Use flag to determine if the layer is a RulerAntonio Vazquez
Proposed fix for T70141. Before, the ruler was using the name of the layer as key, but this is very weak because if the layer name changes, the layer gets an annotation layer. Now, the layer is marked using a flag and now it's possible to rename it. Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D6028
2019-10-10Fix T70691: Crash picking object from eyedropperCampbell Barton
Caused by 828905190e124
2019-10-10Fix T70617: mesh.from_pydata() misses first edge if there are facesCampbell Barton
2019-10-10Cleanup: clang-format, spellingCampbell Barton
2019-10-09Fix T70677: Annotation converted to grease pencil remains unselectableAntonio Vazquez
The problem was the new object was created byt the tag for update objects in depsgraph was not tagged.
2019-10-09Fix T70544: Mesh extracted from Mask crash Blender when using DyntopoPablo Dobarro
This commit fixes an assert in mesh_runtime_check_normals_valid Reviewed By: jbakker Maniphest Tasks: T70544 Differential Revision: https://developer.blender.org/D6013
2019-10-09Fix multires cursor not displaying the active vertexPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D6026
2019-10-09Fix T70554: Snake Hook + Ctrl does not set the brush stroke in its normal ↵Pablo Dobarro
direction This commit also fixes the same issue in elastic deform Reviewed By: jbakker Maniphest Tasks: T70554 Differential Revision: https://developer.blender.org/D6014
2019-10-09Fix text edit-mode character info initializationCampbell Barton
Using EditFont.pos before it was set.
2019-10-09Local Collections: Allow users to show hidden collectionsDalai Felinto
Users now can turn on in a viewport collections that are temporarily hidden (eye) in the view layer. Design task: T61327 As for the implementation, I had to decouple the visibility in the depsgraph from the visibility in the view layer. Also there is a "bug" that in a way was there before which is some operators (e.g., writing a text inside of a text object, tab into edit mode) run regardless of the visibility of the active object. The bug was present already (with object type visibility restriction) in 2.80 so if we decide to tackle it, can be done separately (I have a patch for it though P1132). Reviewed by: brecht (thank you) Differential Revision: D5992
2019-10-08Fix T69682: Render Audio ignores animation.Richard Antalik
`sound_update_animation_flags_exec` didn't tag depsgraph to update. Reviewed By: sergey Maniphest Tasks: T69682 Differential Revision: https://developer.blender.org/D6000
2019-10-08Fix T70601: Lasso select not functioning correctly in Armature Edit Modemano-wii
This solution mimics the one used for pose by ignoring the bone line if either end is clipped.
2019-10-08Sculpt: support automasking, pose and mask expand for multiresBrecht Van Lommel
These were the last remaining new sculpt tools that did not support multires. Performance could be improved still, but it should work. Fixes T68899
2019-10-08Cleanup: minor refactoring of mask expand and floodfillBrecht Van Lommel
2019-10-08Fix T70585: Walk Navigation keyframe tweaks (still frame)Philipp Oeser
Walk Navigation was missing rotation keyframes on confirm (when animation wasnt playing) after rB22bdd08dfd0. Because for walk [in contrast to fly], the cursor is constantly warped (WM_cursor_warp in walkEvent), we cant do something reasonable with comparing mouse positions (to detect rotation) when mouse comes to rest. Now remember if rotation changed at any time. Also tweaked the insertion for location keyframes (which was always happening even if the camera did not move), now checking the real dvec (instead on relying on speed) Reviewed By: dfelinto Maniphest Tasks: T70585 Differential Revision: https://developer.blender.org/D6018
2019-10-08Sculpt: Fix projection artifacts by changing the voxel remesh isovaluePablo Dobarro
This should fix most of the shrinkwrap artifacts when the preserve volume option is active. After this commit the default voxel remehser settings should not fail in the default cube. Reviewed By: zeddb Differential Revision: https://developer.blender.org/D6010
2019-10-08Fix T70626: VSE: Slip Strip Operator doesn't refresh audio on confirmPhilipp Oeser
Maniphest Tasks: T70626 Reviewed By: ISS, sergey Differential Revision: https://developer.blender.org/D6016
2019-10-08Fix: region toggle operator being able to toggle regions it shouldn'tJulian Eisel
Only regions with alignment set should be toggle-able. If this is not set, then the region is likely either a main region, or entirely hidden by the user (not just collapsed).
2019-10-07UI: Move all Selected NLA-Strips when DraggingJulian Eisel
Part of T57918. Selecting and dragging items were conflicting actions previously when both were using the same mouse button. This avoids the conflict. See be2cd4bb5325 for details on behavior.
2019-10-07Paint: 2D paint brush stroke antialiasingPablo Dobarro
This commit enables antialiasing in 2D painting. It also includes some fixes related to line drawing in the stroke spacing code. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5833
2019-10-07Simplify the quadriflow manifold mesh function for loopsSebastian Parborg
No need to iterate over all polygons if we just want to iterate over all face loops anyways.
2019-10-07Fix T70406: crash editing keyframes while in sculpt modeBrecht Van Lommel
2019-10-07Fix T70591: missing letters in statusbar keymap display after recent changesBrecht Van Lommel
2019-10-07Cleanup: rename some sculpt variables for clarityBrecht Van Lommel
2019-10-07Fix T70452: Crash when clicking "Solve Camera Motion" in Motion TrackingSergey Sharybin
2019-10-07Sculpt/Paint: Invert curve alpha overlayPablo Dobarro
Reviewed By: billreynish Differential Revision: https://developer.blender.org/D5998
2019-10-07Sculpt: Update only modified grids on multires undoPablo Dobarro
This makes multires undo much faster and fixes the viewport lag after and undo operation. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5994
2019-10-07Fix T70387: Sculpting with Original Normal rips edgesPablo Dobarro
Reviewed By: brecht Maniphest Tasks: T70387 Differential Revision: https://developer.blender.org/D5982
2019-10-07Cleanup: clang-formatCampbell Barton
2019-10-04Small cleanupDalai Felinto
2019-10-04Sculpt: mesh filter, mask filter and dirty mask now work with multiresBrecht Van Lommel
Thanks to Sergey's neighbor access functions. Mesh filter still needs some improvements to handle open boundaries better.
2019-10-04Subdiv CCG: add utility functions for accessing multires vertex neighborsSergey Sharybin
This is to be used by the new sculpting tools.
2019-10-04Fix assert when deleting a RBW constraint object.Bastien Montagne
Side-reported in T70505. Code did not ensure deleted object was removed from the RBW constraints collection, leading to some invalid status (object in constraints collection but without relevant contraints data). Also fixed another issue - code deleting RBW objects would try to remove any constraint one using it as target, in a very bad and broken way, since you cannot iterate over objects of a collection while removing some... Now instead just NULLify relevant pointers... I hope it works, otherwise we'll have to take a different approach. Needless to stress again how weak the whole RBW code is in general, and regarding same object being used by RBW in more than one scene in particular, that is known broken situation anyway.
2019-10-04Cleanup: formatting for text highlighterCampbell Barton
2019-10-04UI: Move all Selected Markers when DraggingJulian Eisel
Part of T57918. Selecting and dragging items were conflicting actions previously when both were using the same mouse button. This avoids the conflict. See 056fcdfe7bbed3 for details on behavior.
2019-10-04UI: Move all Selected Dopesheet Keys when DraggingJulian Eisel
Part of T57918. Selecting and dragging items were conflicting actions previously when both were using the same mouse button. This avoids the conflict. See 056fcdfe7bbed3 for details on behavior.
2019-10-04UI: Move all Selected Strips and Strip Handles when DraggingJulian Eisel
Part of T57918. Selecting and dragging items were previously conflicting actions when both were using the same mouse button. This avoids the conflict. See 056fcdfe7bbed3 for details on behavior.
2019-10-04Node Editor: Use new operator utilities for node selection and draggingJulian Eisel
Previous commit moved most of this code into more general/generic utility functions, so we can use that in the Node Editor now.
2019-10-04Fix T67212: No smooth blending in "Push Pose from Breakdown" and "Relax Pose ↵Sebastian Parborg
to Breakdown" The previous method produced non smooth interpolation results and it was very hard to control. (At least for me it seemed to be broken until I actually took a look at what the code actually did) Now we simply linearly interpolate between the breakdown position and the current bone data. Reviewed By: Sybren, Hjalti Differential Revision: http://developer.blender.org/D5892
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 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 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 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-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