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-02-06Fix T61191: First undo step missing in text editorCampbell Barton
2019-02-06Undo System: remove accumulate/store modesCampbell Barton
This complicated handling of undo steps in a generic way especially switching between undo systems that stored data to ones that accumulated changes. Now each undo system must treat it's steps as check-point, internally it can apply/rewind changes. This commit also fixes projection paint where the object mode wasn't following the undo steps.
2019-02-06Fix T61196: Mesh select ignores clippingCampbell Barton
Select clipping now works when x-ray is disabled.
2019-02-06Cleanup: styleCampbell Barton
2019-02-06Outliner visibility unification: Implement 3 levels of viewport visibilityDalai Felinto
Now collection and objects can be either: * Disabled for all the view layers. * Hidden for a view layer but not necessarily for all others. * Visible for a view layer but not necessarily for all others. Regarding icons: Whatever we decide to use for the "Hidden for all view layers" needs to be a toggle-like icon. Because when viewing "Scenes" instead of "View Layer" in the outliner we should be able to edit the collection "Hidden for all the view layers" as an on/off option. The operators are accessible via a Visibility context menu or shortcuts: * Ctrl + Click: Isolate collection (use shift to extend). * Alt + Click: Disable collection. * Shift + Click: Hide/Show collection and its children (objects and collections) Things yet to be tackled: * Object outliner context menu can also get a Visibility sub-menu. * Get better icons for viewport enable/disable. Note: * When using emulate 3 button mouse alt+click is used for 2d panning. In this case users have to use the operator from the menu. See T57857 for discussion. Patch: https://developer.blender.org/D4011 Reviewers: brecht and sergey Thanks to the reviewers and William Reynish and Julien Kasper in particular for the feedback.
2019-02-05Outliner: eyes for collection affect collection visibilityDalai Felinto
As oppose to affect the collection objects' visibility.
2019-02-05Outliner: Gray out collections only when they are invisibleDalai Felinto
Re-factor of 4521d3e7074d.
2019-02-05Per view-layer collection visibilityDalai Felinto
[re-committing] We still control this in the viewport collections visibility menu. But now we are actually changing the visibility of the collections, not of the objects. If a collection is indirectly invisible (because one of its parents are invisible) we gray it out. Also if you click directly in the collection names, it "isolates" the collection by hiding all collections, and showing the direct parents and all the children of the selected collection. Development Note: Right now I'm excluding the hidden collections from the depsgraph. Thus the need for tagging relations to update. If this proves to be too slow, we can change.
2019-02-05UI: make drag lock work also when buttons have > 2 states or use callbacks.Brecht Van Lommel
This will help with upcoming outliner visibility icons with 3 states. It is done by using the icon to identify the state. If that is not unique there is no visible difference to users anyway.
2019-02-05Clip editor: Fixes for prefetchSergey Sharybin
Seems metadata was never read while prefetching, at least was never requested to be read. Also fixed prefetch for multilayer EXR.
2019-02-05Edit Mesh: Fix some problem with new implementationClément Foucault
- Add manual depth offset to vertices and edges. - Revert to plain edge decoration. - Fix active edge coloring. - Remove active face display if not in face selection mode. - Add wide line support.
2019-02-05UVEdit: Add function variants based on ToolSettingsClément Foucault
This is better than passing a scene pointer when we don't have one.
2019-02-05BKE_library: id_copy: More general usage of LIB_ID_COPY_LOCALIZE.Bastien Montagne
Turns out most of our 'local working copy' cases can use same set of flags. Note that this commit adds LIB_ID_COPY_CACHES to all our local meshes copying, however this is no-op since that flag is unused during mesh copying... We may want to add another set of flags without that one at some point, but for now it would not be useful imho.
2019-02-05Cleanup: BKE_library: remove 'test' param of id_copy.Bastien Montagne
This was used in *one* place only... much better to have a dedicated helper for that kind of things. ;)
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-04Cleanup: Typos in comments (to to)Pablo Vazquez
2019-02-03GP: Fix compiler errorAntonioya
2019-02-03T61140 Shortcut Eraser and Eraser are not the sameAntonioya
Set default eraser with the last eraser used, and remove the toggle button from UI panel.
2019-02-03Fix typosJoshua Leung
2019-02-03Fix T60753: Graph Editor showing cache curves regardless of filtersJoshua Leung
This commit adds a datablock filtering option for cache files channels, so that a shot with lots of these in addition to standard animation (e.g. the Spring production files) don't become bogged down by these. Furthermore, these channels also respect the "Only Selected" toggle too now.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-02Cleanup: use G_FLAG_*/G_FILE_* for G.f/fileflagsCampbell Barton
Was confusing eg: G_AUTOPACK belonged to G.fileflags, G_PICKSEL to G.f.
2019-02-01Cleanup: Remove manually missing original authorAntonioya
Name was part of the header GPL text.
2019-02-01GP: Cleanup retiming to do in same loopAntonioya
2019-02-01Fix T61071: GP Cutter / Boxes bugAntonioya
Now when remove points from a cyclic stroke, the last island is joined with first island in order to fill the gap of the cyclic. This change affects not only to cutter, but to any delete process in cyclic strokes.
2019-02-01Fix T61043: Blender crashes on VSE zoom / scroll timeline sometimesJörg Müller
2019-02-01Cleanup: manually remove header text not handled by automationCampbell Barton
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-02-01'make links': rename group -> collection in enum in UIPhilipp Oeser
also rename dupli -> instance Fixes T61086 Reviewers: billreynish Maniphest Tasks: T61086 Differential Revision: https://developer.blender.org/D4294
2019-02-01WM: disable undo operators in background mode & at startupCampbell Barton
Show an error instead of crashing, see: T60934
2019-01-31UI: rename Free Bake to Delete Bake.Brecht Van Lommel
"Free" is more of a programming term related to memory allocation, not a term we need to use in the interface. Ref T61054.
2019-01-31Fix T61065: missing shader update when adding texture slot.Brecht Van Lommel
2019-01-31Fix T61072: missing viewport update when setting render border in image editor.Brecht Van Lommel
2019-01-31Fix T61013: changing top/status bar editor type can be changed with shortcut.Brecht Van Lommel
2019-01-31Cleanup: avoid some unnecessary inverse matrix math.Brecht Van Lommel
2019-01-31Fix T61061: Scopes in image editor are not updatingSergey Sharybin
Scopes were moved to properties area, so need to adjust the optimization part of tagging. Ideally, tagging will always happen (and happen for free) and then drawing code will update scopes when they are actually displayed. But this is outside of the scope of this fix since requires some design changes.
2019-01-31Fix T59339: Particle render without baking issuesSergey Sharybin
The issue was caused by dependency graph resetting particles when evaluating copy-on-write version of object. Solved by only doing reset from dependency graph on user edits. Other issue was caused by modifier itself trying to compare topology and reset particles when number of vertices or faces changed. This isn't reliable, since topology might change even with same number of elements. But also, since copy-on-written object initially always have those fields zero-ed the reset was happening on every F12. The latter issue is solved by moving reset from modifier stack to places where we exit edit/paint modes which might be changing topology. There is still weird issue of particles generated at some weird location after tapping tab twice, but this is not a new issue in 2.8 branch and is to be looked separately.
2019-01-31Fix T61032: Switching to sculpt tab causes undo to set object modeCampbell Barton
Workspace switching changed modes w/o the 3D view, causing sculpt undo's poll function to fail. Applied the same logic for texture paint too.
2019-01-31Fix: allow curve of driver to be evaluated individuallyJacques Lucke
This is necessary when adding a new keyframe to a fcurve that also has a driver. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4278
2019-01-31Fix T59495, T59992, T59904, T59178, T60598: broken keyframed value editing.Brecht Van Lommel
This removes a bunch of animation/driver evaluations and recalc flags that should be redundant in the new depsgraph, and were incorrectly affecting the evaluated scene in a permanent way. Still two cases that could be removed if the depsgraph is improved, in BKE_object_handle_data_update and BKE_cachefile_update_frame. For physics subframe interpolation there are also still calls to BKE_object_where_is_calc that should ideally be removed as well, though they are not known to cause keyframing bugs. Differential Revision: https://developer.blender.org/D4274
2019-01-31Depsgraph: remove features incompatible with new system.Brecht Van Lommel
Some features are incompatible with multithreading and reliable evaluation of dependencies. We are now removing them as part of a bigger cleanup to fix bugs in keyframing and invalid animation evaluations. * Dupliframes have been removed. This was a hack added before there were more powerful features like the array modifier. * Slow parent has been removed, never worked in 2.8. It was always unreliable for use in production due to depending on whatever frame was previously evaluated, which was not always the previous frame. * Particle instanced objects used to have their transform evaluated at the particle time. Now it always gets the current time transform. * Boids can no longer do predictive avoidance of force field objects, but still for other particles. Differential Revision: https://developer.blender.org/D4274
2019-01-31Fix T60432: Blender crashes when dragging objects from other scene from ↵Bastien Montagne
outliner.
2019-01-31Sculpt: disable undo flag for sculpt mask lassoCampbell Barton
While this is harmless, it did cause T55399 in the past. Sculpt adds it's own undo steps, so don't request the operator type to do it too. This is consistent with other sculpt operators.
2019-01-31Fix edit-mesh undo using the current selectionCampbell Barton
Any meshes selected would be added to the mode when reading undo.
2019-01-31Cleanup: style, unused variableCampbell Barton
2019-01-31Cleanup: remove EM_IGNORE_LAYERCampbell Barton
Call ED_object_editmode_enter_ex instead.
2019-01-31Fix image paint undo memory leakCampbell Barton
2019-01-31Fix T60660: Texture paint undo removes imageCampbell Barton
2019-01-31Undo System: add Main argument to encode/decodeCampbell Barton
Needed since we don't always have the context, and avoids adding G_MAIN into undo callbacks.
2019-01-30Fix (unreported) memleak when copying object and its material with GP settings.Bastien Montagne
Like... seriously?