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-01Cleanup: Adding braces around all cases here to make it easier for the next stepJoshua Leung
2019-03-01Fix T62057: Particle settings keyframes not showing in Graph Editor channelsJoshua Leung
In short, the settings to expand/collapse the Particles Animation Dopesheet expander were no longer getting exposed, so the F-Curves attached to the particle settings were not showing up in the channels list as that section was collapsed and couldn't be opened from the UI. Early on during the development of 2.8, we originally wanted to completely remove the Particle System. Eventually that decision got walked back, and so particles were reinstated. Well... most of the relevant code was! One of the areas that was the most messed up during this process was the animation editor support for these channels. It seems that there was almost a two-step removal process here - the first pass tried to keep the channel definitions while removing all references to particle stuff, while the second pass tried to remove the definitions completely and/or re-added them in the wrong places, etc. To say the removal/reverting history is here is "colourful" is an understatement...
2019-03-01Collections: mark visibility properties as not animatable.Brecht Van Lommel
Better to communicate the current state clearly until this is supported, for now only object visibility can be animated.
2019-03-01Cleanup: use unsigned types in 3D view editorCampbell Barton
2019-03-01Tool System: add a mode option to 3D view circle selectCampbell Barton
Support only basic operations: new/add/subtract.
2019-03-013D View: avoid redundant circle select updatesCampbell Barton
This refreshes on cursor motion so it's worth avoiding redundant updates, especially for multi-object edit-modes where many objects aren't even near the object being selected. This commit also moves to passing eSelectOp to circle select functions in preparation for adding a select mode tool option.
2019-03-01WM: add gesture variable to detect first executionCampbell Barton
Needed for circle select to replace the current selection.
2019-03-01Fix T62053: Composite rendering more images than neededPhilipp Oeser
Reviewers: brecht Maniphest Tasks: T62053 Differential Revision: https://developer.blender.org/D4432
2019-03-013D View: move particle circle select out of object mode loopCampbell Barton
This doesn't support multi-object editing, no reason to check others.
2019-03-01Fix T62015: Duplicating object, rotating, pivot point not usedSergey Sharybin
Was caused by another fix in the area, and root to the wrong though that transformation is only initialized from a fully evaluated dependency graph. The latter one is not a case when changing transformation mode. Solved by copying transform to an evaluated object.
2019-03-01Fix flag on wrong object being modifiedSergey Sharybin
The intention was to disable constraints prior evaluation of the object. Spotted by Campbell, thanks!
2019-03-01WM: improve support for binding actions to modifier keysCampbell Barton
Previously a modifier key-map type only worked when the same key was enabled as a modifier as well. This allows for users to assign an action to double-tap-shift for eg.
2019-03-01Cleanup: Use braces in event matching logicCampbell Barton
Also no need to map the event type for inactive keys.
2019-03-01Fix object mode lasso de-selectionCampbell Barton
Lasso actions that only de-selected were handled as if nothing changed.
2019-03-01Cleanup: de-duplicate RNA array default argsCampbell Barton
2019-03-01Fix T62068: rotation incorrectly re-uses axisCampbell Barton
Regression in recent transform changes.
2019-03-01RNA: move cursor into own structCampbell Barton
Without this it's impractical to subscribe to any change to the cursor. Fixes T61969 by having gizmos update on any change to the cursor.
2019-03-01Fix T61825: animated images not working immediately when enabling auto refresh.Brecht Van Lommel
2019-03-01Fix T61929: crash on undo in some files with local view.Brecht Van Lommel
2019-03-01Comments: add comments for new transform struct members.Campbell Barton
2019-03-01Cleanup: minor improvements to transform comments.Campbell Barton
2019-03-01Cleanup: Use const for static number.Campbell Barton
Also use double indent instead of mixed tab/spaces.
2019-03-01Cleanup and refactor sequencer proxy properties panelRichard Antalik
Split SEQUENCER_PT_proxy to: SEQUENCER_PT_proxy_settings - global settings and operators SEQUENCER_PT_strip_proxy - proxy settings per strip Author: Guillaume M (mathers) Reviewed by: ISS, campbellbarton Differential Revision: https://developer.blender.org/D4262
2019-03-01Hair Particle: Fix issue on OSX due to hardware accelerated subdivisionClément Foucault
Workaround to tranform feedback not working on mac. On some system it crashes (see T58489) and on some other it outputs garbage (see T60171). So instead of using transform feedback we render to a texture, readback the result to system memory and reupload as VBO data. It is really not ideal performance wise, but it is the simplest and the most local workaround that still uses the power of the GPU. This should fix T59426, T60171 and T58489.
2019-02-28Cleanup/refactor clnor code: add high-level helpers to set custom normals.Bastien Montagne
Now it will be simpler for code jsut wanting to preserve custom normals around to set them, without having to add same boiler plate code all the time around actual code.
2019-02-28Fix (unreported) assert in modifier evaluation of weighted normals.Bastien Montagne
Currently modifier stack assumes there are no poly normals data passed around, so in case a modifier generates such data, it has to clean it up after usage. Whole handling of normals is a bit annoying and week currently, we can probably enhance that once fully per-mesh item type cddata masks are in?
2019-02-28'Fix' T61942: Triangulate modifier breaks custom normals.Bastien Montagne
Not a bug, but supporting preservation of custom normals in that specific modifier makes sense, in game pipeline contexts. Could also ease work of IO add-ons that want to export triangulated geometry...
2019-02-28CustomData: add function to clear layers' flags.Bastien Montagne
We only had one to set those flags, up til now...
2019-02-28GPencil: Cleanup styleAntonioya
2019-02-28Fix T60366: texture paint slots not updating when editing material.Brecht Van Lommel
Now always refresh when the material changes. Depsgraph tag moved out of the refresh function since that gets called on depsgraph update, which should not trigger a second depsgraph update.
2019-02-28Depsgraph: Fix wrong disabled bases deletionSergey Sharybin
Original optimization idea was wrong: it is possible that some other ID would reference an object which is also used by a base. Rolled back to a bit more fragile solution. In the future would be nice to make it somewhat less duplicated with the builder itself. Fixes assert failure (and possibly crashes) when adding grease pencil object and switching to a draw mode.
2019-02-28Cleanup: Snake style in depsgraphSergey Sharybin
While it's kind of common to use camel case in C++ this is not currently agreed style for C++ in Blender. Got confused by working on other areas with 3rd party libraries.
2019-02-28Fix T62012: Non-animated property, stuck in previously keyframed valuesSergey Sharybin
Was missing ID recalc tag.
2019-02-28GPencil: Rename variable name and add alpha to outlineAntonioya
The outline now has some alpha to be more consistent with other Blender areas.
2019-02-28GPencil: Disable Outline if Overlay is disabledAntonioya
The main overlay switch and outline option must be checked.
2019-02-28GPencil: Remove comment line added by error to header textAntonioya
This line was added accidentally in the header text.
2019-02-28GPencil: Increase outline to 2 pixelsAntonioya
The selection outline of 1 pixel was too thin.
2019-02-28GPencil: Hide selecction outline when play animationAntonioya
2019-02-28GPencil: Draw Outline to Active and Selected objectsAntonioya
Now an outline is drawn when the grease pencil is selected.
2019-02-28GPencil: Remove dummy marker for Grease Pencil objectsAntonioya
After adding selecction using strokes, the dummy is not required because it was added as a provisional solution while we implement stroke selection.
2019-02-28GPencil: Add selection support for objects using strokesAntonioya
Now it's possible to select a grease pencil object without using the dummy.
2019-02-28Wonky Menu Down ArrowPablo Vazquez
Almost every pulldown menu and popover has a little dropdown arrow shape. Unfortunately it is a bit wonky. The top of the right side of it is wider than the top of the left side. And both sides are narrower at the bottom than the top. It might be hard to see, but this image should help: {F6728281} The patch fixes the symmetry of the shape while keeping the weight as similar as possible. In the following image you can see the outline of the current version in red and this new version in green. {F6728298} With patch applied the arrow looks perfect: {F6728302} Reviewers: brecht, billreynish Reviewed By: billreynish Subscribers: pablovazquez Tags: #bf_blender, #bf_blender_2.8, #user_interface Differential Revision: https://developer.blender.org/D4424
2019-02-28Revert "Objects: Remove Textured from object display type"Clément Foucault
This reverts commit 6a4a984ff731070d0702821fe1e67dea40e593b9.
2019-02-28Split base flags on own and collection-definedSergey Sharybin
This allows to update base flags to a proper state then object's restriction flags are changed, without requiring to re-evaluate an entire tree of flags. Some old unused flags are were removed by this change, and also disabling menu items might not work the same as before. This is something we can bring back if it's really needed (the way how flags are handled did change since that interface code was done anyway, so code was looking weird anyway). Reviewers: brecht Differential Revision: https://developer.blender.org/D4420
2019-02-28Remove unused base flagSergey Sharybin
Was only set and read from a single location. Removing to keep things more manageable.
2019-02-28Depsgraph: Keep objects which has animated visibilitySergey Sharybin
This allows dependency graph to evaluate drivers of those objects and put them to a correct state. It will increase memory usage since now we can no longer save it by skipping copy-on-write for such objects. It will also currently make things slower, because we do not have granular enough visibility update of components in the dependency graph. Can do it later when the rest of the changes are finished. This commit does not update restriction flags on the base, since that is somewhat tricky to do currently: need to somehow see whether object is disabled due to flags on collection or due to own flags. Differential Revision: https://developer.blender.org/D4419
2019-02-28Depsgraph: Route visibility flags update to proper componentSergey Sharybin
2019-02-28Depsgraph: Change the logic about keeping bases in the graphSergey Sharybin
The idea is to keep bases which are known for sure to be in the dependency graph. Previously, this code was duplicating logic around checking restriction flags, which becomes more hard to maintain once we are moving towards to more comprehensive checks about whether base is a part of evaluated scene or not.
2019-02-28Objects: Remove Textured from object display typeClément Foucault
As discussed with @billreynish this makes little sense now that we don't have a dedicated textured mode. We don't have a superior texture or shaded mode anymore and we also cannot mix different engines together (workbench with eevee/lookdev). The only feature it removes is the possibility to hide textures for certain object in solid mode.
2019-02-28Fix T62040: Irradiance Volume brokenClément Foucault
Was broken by 6a03199b50e02d57a50eb24441ef7be0b7e965ac. Reintroducing the padding along with a few comment to not reproduce the same errors.