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
path: root/source
AgeCommit message (Collapse)Author
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-07Fix T62066: Seg Fault Baking Light Cache with "--background" FlagClément Foucault
2019-03-07Fix T59877: EEVEE: Object Info node random value does not work with DuplisClément Foucault
2019-03-07DRW: Fix hair OSX workaround having a cap limitClément Foucault
This is still is a dirty workaround. Note that we are drawing the whole sets of point multiple times. While this is ineficient, the main bottleneck is CPU transformation.
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-07Fix T62259: RGB Curves behave differently in Cycles and EeveeClément Foucault
This was due to curve being not extrapolated correctly. Also curvemap range was not taken into account.
2019-03-07Units: Fix unreported. Audio volume is not a percentageWilliam Reynish
2019-03-06GPencil: Fix unreported segment fault drawing with dotsAntonioya
2019-03-06GPencil: Improve quality to stroke encaps for textured materialsAntonioya
Before, the caps were not generated for texture materials, now, the endcaps are generated and adapt the texture.
2019-03-06Fix build for Linux systemsDalai Felinto
Error introduced on rBff8a2df829fcce8780d26a18f3070ab8e850b2e6. The folders with binary icons were deleted.
2019-03-06Fix stereoscopy convergence plane placementDalai Felinto
Note this was broken even in 2.7x. We had a different logic for the plane wire, as for the plane itself. And they were both wrong when changing the camera shift or the stereo pivot. Both of their logic is now unified and correct. Also I had to create a new gpu batch for the quad wires, since there is no state that allows me to filter out the geometry, and the square gpu batch is quite different than the quad one (2d x 3d and orientation).
2019-03-06Fix stereo plane pass and stateDalai Felinto
This was introduced on the MSAA fix for transparent passes (61039bf71376).
2019-03-06Linux/freedesktop: update Blender app icon based on new guidelines.Jakub Steiner
* Use only scalable SVG icon. * Add symbolic variant for accessibility. * Remove shadow, this is added automatically. For more information see: https://gitlab.gnome.org/GNOME/Initiatives/issues/2 https://developer.gnome.org/hig/stable/icon-design.html.en
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-06Fix T62220: Solid shading mode - Shadow glitchClément Foucault
The degenerate triangle threshold was too big. Making it an equal test can introduce problems in other cases but I could not make it fail.
2019-03-06Fix T62262: Light "Show Cone" & stereoscopy volumes broken by MSAAClément Foucault
Volume itself was working, but buggy. The issue was that transparent shapes does not write to depth buffer. But the custom MSAA resolve shader discard pixels that did not write to depth making them transparent. Transparent passes should not be inside the MSAA passes, this is also a matter of performance.
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 (unreported) broken usercount of collections after duplication.Bastien Montagne
Was missing proper flag in library_query code, collections are also id-users of their children collections.
2019-03-06Cleanup: remove no-op BKE_collection_copy_full().Bastien Montagne
That one was an empty place-holder, BKE_collection_duplicate() is now doing that. And its call from full scene copying is not needed currently, 'deep copy' in that case is handled in editor's `ED_scene_add()`. Note that at some point, we might want to move that logic into BKE, but for now let's keep thing as they are - working.
2019-03-06Fix T62613: In duplicated collections objects loses patrenting.Bastien Montagne
We need to remap duplicated IDs' ID pointers to new ones if they exist.
2019-03-06Cleanup: remove useless extra-processing after BKE_id_new_name_validate() call.Bastien Montagne
This function already handles sorting of ID in its listbase.
2019-03-06Cleanup: use default ID type's name instead of generic 'Untitled' for new IDs.Bastien Montagne
2019-03-06Cleanup: rename BKE_library's `new_id()` to `BKE_id_new_name_validate()`.Bastien Montagne
The former was probably one of the worst function names in our whole code base, totally misleading, and quiet often used as a variable name too.
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-06Viewport: Fix stereoscopy volume "wires" not showingDalai Felinto
This is unreported. When using volume opacity 0.0, the wires were not visible (nor were they in other cases, but this was the most obvious one). The volume itself is still glitchy, and slightly worse than 2.79. I still don't know how to fix this though. It seems a common problem (see T62262).
2019-03-06Fix T62118: Stereo drawing options visible from camera viewDalai Felinto
Note 1: Volume drawing still draws differently than 2.7x. Note 2: Camera lens widget still ignores stereo.
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-06Cleanup: unused function warningCampbell Barton
2019-03-06Fix T62210: endless loop in kd tree lookupCampbell Barton
Reset nodes after the first balance call.
2019-03-06Revert "Fix T62210: endless loop in kd tree lookup"Campbell Barton
This reverts commit 301bcf771dec827138412ca6e7a25e2269eb5e9e. Caused crash entering particle edit mode.
2019-03-06Fix T61917: Metaball family inherits wrong resolution by deleted objectCampbell Barton
Synchronizing values between object data is error prone (not updated on creation or renaming), add an update to have them working as they did in 2.79.
2019-03-06DRW: Fix State tracking being off when calling GPU_framebuffer_clearClément Foucault
State tracking works in pretty much all cases but calling the clear command does change the write mask outside the draw manager. For now we just reset the write mask before each pass. Fix T62203 The selected bone is not highlighted inside the other bone.
2019-03-06Cleanup: remove redundant file argumentCampbell Barton
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-06Cleanup: Use GPU_depth_test instead of glEnable/glDisableClément Foucault