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-03-20Fix T62711: Incorrect motion path updateJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4560
2019-03-20Fix T62770: Changing Constraint.mute does not update poseSergey Sharybin
Missing dependency graph tag. Is only happening for scripts, since the interface is handling this from do_constraint_panels(). Fix is suggested by Edmund Kapusniak (@edmundmk), thanks!
2019-03-20UI: Change name Airbrush back to AccumulateWilliam Reynish
'Airbrush' didn't make sense for Sculpt mode.
2019-03-20Fix T62248: Infinite Hotspot Size Crop NodeJeroen Bakker
When the area of the crop node is zero the hotspot margin becomes infinite. This makes the gizmo by default think the translate mode hotspot is everywhere. This fix will return a state if the INFINITY is detected so we can return the hotspot drawing. The cage2d gizmo is still not usable for sizes of 0 by 0 as now it won't draw anything. the issues of the gizmo should be re-designed so we can mitigate these limitations. But that is out of scope for this fix. Reviewed By: campbellbarton Maniphest Tasks: T62248 Differential Revision: https://developer.blender.org/D4516
2019-03-20Cleanup: return early in BLI_path_frame_getSybren A. Stüvel
Instead of making the entire body of the function conditional, it now returns early, unindenting the entire function and preventing the reader from searching for a non-existent `else` clause. No semantic changes.
2019-03-20Fix BLI_path_frame_stripSybren A. Stüvel
The `BLI_path_frame_strip` function was completely broken, unless the number of digits in the sequence number was the same as the length of the extension. In other words, it would work fine for `file.0001.abc` (4 digit `0001` and 4 char `.abc`), but other combinations would truncate to the shortest (`file.001.abc` would become `file.###.ab` and `file.00001.a` would become `file.##.a`). The dependency between the sequence number and the file extension is now removed. The behaviour has changed a little bit in the case where there are no numbers in the filename. Previously, `path="filename.abc"` would result in `path="filename.abc"` and `ext=""`, but now it results in `path="filename"` and `ext=".abc"`. This way `ext` always contains the extension, and the behaviour is consistent regardless of whether there were any numbers found. Furthermore, I've removed the `bool set_frame_char` parameter, because it was unclear, probably also buggy, and most importantly, never used. I've also added a unit test for the `BLI_path_frame_strip` function.
2019-03-20Fix T62678: better glyph clipping testJacques Lucke
Reviewers: billreynish, brecht Differential Revision: https://developer.blender.org/D4550
2019-03-20Fix T60211: MemLeak Convert Curve To MeshJeroen Bakker
Ownership flag was not set, but was it was meanted to be. So the set runtime data to NULL disconnected the Mesh with no ownership.
2019-03-20UI: support for popups starting with buttons activatedCampbell Barton
While this could already be done from C, this is now exposed to Python
2019-03-20Preferences: add threshold for cursor motionCampbell Barton
A hard coded threshold was used to ignore cursor motion, make this a preference since tablet users may want to increase it since a pen hovering isn't as easy to keep still as a mouse. Resolves T56278
2019-03-20Fix missing refresh when subdividing hair strandSergey Sharybin
This is a part of T62730.i
2019-03-20Fix T62750: Deleted Keyframe Still Affects SceneSergey Sharybin
Missing ID recalc tag.
2019-03-20Fix T61670: Copy -> Paste - Pasted elements are not selectedDalai Felinto
The first part of this patch is just a way to improve performance a bit by not calling BKE_scene_object_base_flag_sync_from_base() twice. The second is the proper fix for the reported issue. That said, the report can be re-opened since there is still discussion about whether or not to bring the collections with the objects. Reviewers: mont29 Subscribers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4558
2019-03-20Fix (unreported) Copy/Paste: orig object being instantiated in active ↵Bastien Montagne
collection on pasting. When copy/pasting an object in same .blend file, orig object would be instantiated into the active collection when pasting, along with the content of the paste. Was missing a clear of LIB_TAG_DOIT on objects... Found while investigating T61670.
2019-03-20Cleanup: un-indent NDOF operator bodyCampbell Barton
This was needed for C89 compatibility, avoid having most of the operator logic in an else block.
2019-03-20Cleanup: Use doxy groups for NDOF operatorsCampbell Barton
2019-03-20Cleanup: use lowercase for dimensions in function namesCampbell Barton
Most API's already use this convention.
2019-03-20Error in last commitCampbell Barton
2019-03-20Fix T62682: Inconsistent NDOF camera auto-keyCampbell Barton
Some view operations auto-keyed when locking the camera to view but some NDOF operators didn't yet support it. Auto key during animation playback for recording camera motion.
2019-03-20Fix T62757: Mirror operator fails for non-modal executionCampbell Barton
Unlike most transform operators that use an orientation and values, Mirror uses the constraint axes to define which axes are mirrored. Now constraint axes are shown in this case. Other changes: - Use 'EXEC_DEFAULT' for mirror menu items. - Show mirror on local axis when not in edit-mode since this is useful in object mode too. - Remove mirror vertex groups since this is in the vertex group menu and this menu isn't currently used for general symmetry operators which are currently in other menus.
2019-03-203D View: snap cursor to world origin now resets rotationCampbell Barton
2019-03-20Fix T62736: Inconsistent behavior bpy.utils.user_resource()Philipp Oeser
If a subfolder was specified which didn't exist, logic would fallback to get_path_user (instead of get_path_environment). Now always use the from the environment variable if it's set and exists.
2019-03-20DRW: minor optimization for edit-mesh conversionCampbell Barton
Finding visible connected elements is often a direct lookup when they're not connected to hidden geometry. Add inline wrappers that avoid a function call, gives minor speedup creating GPU edit-mesh data.
2019-03-20UI: center floating popoversCampbell Barton
Tweak placement so useful items are more likely to be nearby, centering horizontally and align vertically to the first button.
2019-03-20Fix T59719 Bake Indirect Lighting doesn't update env map reflectionClément Foucault
2019-03-19Unify "Hide Selected / Reveal Hidden" operator namesDalai Felinto
All edit mode related operators are now "Hide Selected / Reveal Hidden". Before we had different variatons of them: Hide Selection: * MESH_OT_hide * GPENCIL_OT_selection_opacity_toggle Hide Selected Bones: * ARMATURE_OT_hide Hide: * MBALL_OT_hide_metaelems Hide Selected: * CURVE_OT_hide * PARTICLE_OT_hide * POSE_OT_hide * UV_OT_hide Reveal Bones: * ARMATURE_OT_reveal Reveal: * MBALL_OT_reveal_metaelems Operators not renamed: * Hide Curves (GRAPH_OT_hide) * Hide (OUTLINER_OT_hide) Note we can do a step further and mass rename them to match their UI names. Where Reveal Hidden is Show Hidden. But for now at least they are all unified.
2019-03-19Fix T62735: hiding curves doesnt hide in viewportDalai Felinto
Copying what we do for mesh objects.
2019-03-19Fix T62749: random mesh selection crashes.Brecht Van Lommel
This was an off-by-one error in the initialization of tbuf, but refactored the code a bit more to be less obscure.
2019-03-19UI: Re-organize Brush PropertiesWilliam Reynish
- Consolidate each brush section (Color, Palette, Gradient) and make them distinct - Remove the lock icons and move these items into an Options sub-panel, together with other toggles - They now have more descriptive names - Use an enum for view vs scene brush unit - Use Property Split layout and sub-panels in line with the rest of 2.8 - Rename Curve panel to Falloff Reviewed by: campbellbarton, pablovazquez Maniphest Tasks: D4529 Differential Revision: https://developer.blender.org/D4529
2019-03-19Units: Use PROP_PIXEL for grad_spacingWilliam Reynish
2019-03-19Cleanup: correct commentCampbell Barton
2019-03-19UI: scale cursor motion threshold by DPICampbell Barton
This was using hard coded values of 2-3px. Move both drag and motion thresholds to defines.
2019-03-19Fix T60684 Fourth and subsequent vertex color / UV layers displayed blackClément Foucault
2019-03-19BLI_kdtree: use 1d tree for select similarCampbell Barton
2019-03-19BLI_kdtree: add 1d kdtree supportCampbell Barton
Some users only use the tree to store a single value.
2019-03-19Fix T62715: Grease Pencil Apply Armature Modifier IssueAntonioya
@sergey wrote: "The reason it was failing is because md points to an original armature, which doesn't have runtime data needed for deformation. That data is to come from evaluated armature." Thanks to @sergey for his help.
2019-03-19Fix T62622: Animating vertex does not update viewportSergey Sharybin
Missing dependency graph update due to wrong relation.
2019-03-19Workbench: World Clipping For Specular TransparentJeroen Bakker
When Specular Transparent materials are used the world clipping did not work on the transparent materials. The reason was that the accum shaders did not vary on the existance of the clipping planes This patch will variate the accum shaders when clipping planes are active. Reviewed By: fclem Maniphest Tasks: T61023
2019-03-19Cleanup: name 3D/4D trees in similar selection codeCampbell Barton
Do this so trees have matching & logical names.
2019-03-19UV: Use BLI_kdtree_2d for 2D dataCampbell Barton
2019-03-19BLI_kdtree: add 2D kdtree supportCampbell Barton
Some users of the 3D versions were storing 2D data in it. Using a 3D tree for 2D data adds a spatially redundant branch every 3rd level, as well as some extra memory use, best avoid this.
2019-03-19Workbench: Support Odd Number Of AA SamplesJeroen Bakker
Workbench render engine did not work when an odd number of AA samples were used. A user could enter these values by disabling AA or set the number of AA samples in the Render/Film panel to an odd number. This commit will not perform TAA passes when AA is disabled. For supporting the setting of 5 or 11 samples the bitmask was replaced by an if statement as this was making the odd number not render correctly. As extra introduce the jitter samples of 5 and 11 so the images will be more clean. a jitter sample of 11 used to read outside the allocated space of the jitter samples. Fix T60820 Reviewed By: fclem Maniphest Tasks: T60820 Differential Revision: https://developer.blender.org/D4546
2019-03-19Cleanup: use BLI_kdtree_3d prefixCampbell Barton
Use prefix now there isn't only the 3d version.
2019-03-19Fix T62732: Bpy/Python is letting create inputs at the node level for node ↵Bastien Montagne
groups that make blend file unsaveable. Group nodes should not allow to add IO sockets to themselves directly, in that case we actually want to add IO sockets to their underlying node tree. Fairly straioght forward to support actually.
2019-03-19Fix T62595: Select co-planar faces failsCampbell Barton
2019-03-19BLI_kdtree: refactor to support different numbers of dimensionsCampbell Barton
This moves logic into kdtree_impl.h which is included in a source file that defines the number of dimensions - so we can easily support different numbers of dimensions as needed (currently 3D and 4D are supported). Macro use isn't so nice but avoids a lot of duplicate code.
2019-03-19Fix T61475 Particle edit does not render children if path step > 7Clément Foucault
Gives 2 more bits to the segment count. Also subtract 1 because segment count cannot be negative.
2019-03-19GPencil: Include gpencil objects in BKE_object_minmaxCampbell Barton
Also remove redundant check for meshes.
2019-03-19Cleanup: remove unused for gpencil bounds calculationCampbell Barton
2019-03-19Fix T62743: GPencil dimensions are large when no geometry existsCampbell Barton
Use fallback when no data exists matching bound-box for other kinds of geometry.