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-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Properties Editor: Grease Pencil and pinning fixesDalai Felinto
The UI was trying to use screen_context.c for its poll and draw functions. So the active object and active object data and active layer was used in the UI, instead of the context one. Besides, for the material, the wrong context path was used altogether when the active object was a greasepencil. This would lead to all sort of pinning problems: * A Mesh panel is pinned, but the active object is a grease pencil, the grease pencil panels would show. * If a Grease Pencil (data) panel is pinned, but the active object is not the one pinned, nothing would show. * Material panels and pinning were totally broken, showing the material context for pinned mesh data panels even. I also sanitized the name of the panels, their inheritance and poll functions. Reviewers: antoniov, brecht Subscribers: billrey Differential Revision: https://developer.blender.org/D4470
2019-03-07GPencil: Update stroke when UV factor is changedAntonioya
The stroke was updated only after doing a refresh operation.
2019-03-07Fix T62328, T62209: revert recent fix for texture slots updates (T60366).Brecht Van Lommel
This causes other issues, revert for now until a better fix is found. Reverts commit da1323d1c95095feff98e8aa054d73fd323c363d.
2019-03-07Cleanup: remove unused parameter.Brecht Van Lommel
2019-03-07Cleanup: fix compiler warnings.Brecht Van Lommel
2019-03-07Image: use sample size instead of radiusCampbell Barton
It wasn't possible to sample a 2x2 region.
2019-03-07Cleanup: redundant select flushCampbell Barton
2019-03-07Tool System: use set/add/subtract for all lasso select operatorsCampbell Barton
2019-03-07Refactor building the draw string for floats and intsJacques Lucke
Differential Revision: https://developer.blender.org/D4466
2019-03-07Refactor CDData masks, to have one mask per mesh elem type.Bastien Montagne
We already have different storages for cddata of verts, edges etc., 'simply' do the same for the mask flags we use all around Blender code to request some data, or limit some operation to some layers, etc. Reason we need this is that some cddata types (like Normals) are actually shared between verts/polys/loops, and we don’t want to generate clnors everytime we request vnors! As a side note, this also does final fix to T59338, which was the trigger for this patch (need to request computed loop normals for another mesh than evaluated one). Reviewers: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D4407
2019-03-07Tool System: use set/add/subtract for all box select operatorsCampbell Barton
2019-03-07Tool System: add radius option to the image sample toolCampbell Barton
2019-03-07Cleanup: use macros to avoid repetitionCampbell Barton
2019-03-07Fix crash transforming image cursor outside of edit-modeCampbell Barton
2019-03-07Cleanup: use API to reset cursor rotationCampbell Barton
2019-03-073D View: view selected/all use empty object centerCampbell Barton
Empty object skipping now only skips the bounds, since you can select the empty by it's center point and want to navigate to it. Also share object skipping check between view all/selected.
2019-03-07Fix "View All" potential min/max use when all objects were skippedCampbell Barton
2019-03-07Fix 3D "View Selected" skip camera optionCampbell Barton
2019-03-073D View: skip hidden image empties when viewing allCampbell Barton
D4463 by @pablodp606
2019-03-07DRW: show image empty frame when the 'side' is hiddenCampbell Barton
This behavior matches back-face culled mesh objects, where the wire outline doesn't depend on the viewing angle. Applying this before empty visibility check for view framing, since it's strange if viewing all gives different results depending on back-face culling.
2019-03-06UI: Name changesWilliam Reynish
In accordance with T56648. - Render Border -> Render Region - Clipping Border -> Clipping Region - Instancing 'Scale' -> 'Scale to Face Size' - Instancing 'Rotation' -> 'Align to Vertex Normal' Python API is left as-is, for now. DIfferential revision: D4435
2019-03-06Collection duplication from Outliner: add a 'duplicate hierarchy' operation.Bastien Montagne
Point is, you may want to duplicate your set of collections, but not duplicate all their objects. Some notes: * Am rather skeptical about the practice of using operator name to define behavior of some common exec code. Imho, that should be a single operator with an enum to refine its behavior (@cambpellbarton may also have an opinion here?). Left it as-is for now, because this seems to be used by other operators too in that code. :/ * @dfelinto, @pablovazquez, @billreynish am not so happy with current names, but cannot find really good short ones either... Also, shouldn't we move those into a dedicated `Duplicate` sub-menu?
2019-03-06Fix T61773 Bevel and Inset mouse sensitivity, and bevel tool units.Howard Trickey
The mouse movement scale needed adjusting according to object scale, since the amount is on the unscaled model but the viewport shows the scaled one. Also fixed proper units for amounts in bevel tool, as was already done for modifier. Percent should be comfortably adjustable by mouse.
2019-03-06Missed last commitCampbell Barton
2019-03-06DNA: remove none particle brush & deprecated flagsCampbell Barton
The none brush doesn't make sense to have anymore with the tool system. Also remove deprecated flags & types for object, armature & text.
2019-03-06Fix T62223: Particle brushes disable select toolsCampbell Barton
2019-03-06Fix T62230: Annotations corrupts GPencil brushesAntonioya
Use annotations inside grease pencil drawing mode is something incompatible by design. Actually, the annotations are disabled in overlay panel for 2D template and the tool icon is not in the toolbar. The unique way to get annotations was using D key, but this is wrong. If you are inside drawing mode, all the events are captured by paint operator and to capture annotations, the operator must be canceled and the mode changed, but this change breaks several things. It's not logic add annotation inside darwing mode, because you can simply add a new layer and write the text you want. This change checks the mode and cancel the annotations if the mode is not thje right one.
2019-03-06Fix T62241: Repeat last translate, wrong directionCampbell Barton
Only use orientation value when the operator uses orientation axis. Own error in 03da3b6593a24
2019-03-06Fix T62236: Crash texture paintingCampbell Barton
Caused by 10d9a2494fc5e which removed 5x length clamping.
2019-03-06WM: match select all behavior for the info spaceCampbell Barton
Adds select invert to the operator. D4454 by @Poulpator
2019-03-06Cleanup: styleCampbell Barton
2019-03-05UV/VCol layers creation: add option to not init those new data.Bastien Montagne
`ED_mesh_uv_texture_add()`/`ED_mesh_color_add()` would always either copy data from current active one, or (for UVs), generate default 'valid' UVs for every face. This commit adds an option to not do that, just keeping default values from raw CDLayer creation. It is only used/exposed from RNA API currently. This is especially useful for importer add-ons, since some formats support multiple layers of those kind, as well as 'partial' dataset not explicitely defining values for all mesh items. Preliminary step to fix T62224.
2019-03-05File Editor: Refactor 'new dir' / renaming code.Bastien Montagne
We really do not need two 256 chars variables to hanlde renaming, a mere pair of flags can handle the situation just as well. Also, scroll to newly renamed item, will help when one want to find again the directory they just added and rename. At some point we'll probably want to refactor scrolling further (to make it fully out of rename code/context e.g.), but for now think this will do.
2019-03-05Fix T58715: File Browser: Creating "New Folder" issues with too many ↵Bastien Montagne
existing folders in display. Smotthscroll to edited entry was broken since filelisting was rewritten to become async...
2019-03-05UI: Nicer report when trying to edit external librariesPablo Vazquez
Rename 'libdata' to 'library data'.
2019-03-05Fix T62208: constant detail picker not taking object scale into accountJacques Lucke
2019-03-05Fix T62163: Duplicating particle system results in crashJacques Lucke
There were two problems: 1. `mesh_get_eval_final` has to be called with the evaluated object. 2. Particle systems have to have unique names within an object. The depsgraph seems to use the particle system name as identifier. This issue is actually independent of duplication. The old code used a small hack to create unique names. Reviewers: brecht Differential Revision: https://developer.blender.org/D4451
2019-03-05GPencil: Disable proportional for DuplicateAntonioya
When duplicates a stroke using Shift+D, the proportional must be disabled.
2019-03-05Fix T62216: order of items flipped in some menus like object mode.Brecht Van Lommel
2019-03-05Fix upside down tool menusCampbell Barton
Regression from 4dd575e5ab55e153f8
2019-03-05Fix T62202: circle select does not work on hair pointsJacques Lucke
2019-03-05Fix parenting objects to bones/vertices causes offsetPhilipp Oeser
This reverts part of rBbc5482337669. Problem with above commit is that the evaluated object seems to not have partype, par1, par2, par3 copied from the original (yet). Using original object instead now. Second issue (when parenting to 'Bone Relative') is that the bones BONE_RELATIVE_PARENTING flag is set on the original, but not the evaluated bone (yet), setting this on both now. Fixes T60623 (and part of T59352) Reviewers: brecht, sergey Maniphest Tasks: T60623 Differential Revision: https://developer.blender.org/D4309
2019-03-05Tool System: use set/add/subtract for all circle select operatorsCampbell Barton
This applies changes from the 3D view circle select to other operators.
2019-03-05Fix T62190: Image editor pixel values are hidden by header at the bottomPhilipp Oeser
since header regions can possibly overlap, accommodate by getting main regions visible rect first. Reviewers: sergey, brecht Maniphest Tasks: T62190 Differential Revision: https://developer.blender.org/D4449
2019-03-05GP: move select all into a utility functionCampbell Barton
2019-03-05Cemara tracking: move select all into a utility functionCampbell Barton
2019-03-05Nodes: move select all into a utility functionCampbell Barton
2019-03-05Cleanup: rename RENDER_OVERRIDE -> HIDE_OVERLAYSCampbell Barton
Match the UI naming (changed since 2.7x).
2019-03-05Fix T62159: Poly build crashes w/o overlaysCampbell Barton