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
2018-01-22Collections/Layer cleanup: Remove TODO_LAYER_OVERRIDE from most placesDalai Felinto
This was originally a good idea. However we will need to pay special attention to this when doing the dynamic overrides anyways. The placeholders won't be enough to spare us that job. That said I left the ones on layer.c because we are actually calling these BKE_override_*_add() functions from doversion, yet they don't do anything.
2018-01-22T53831: Fixed vertical line alignment & expand Collection and Scene buttons ↵Philippe Schmid
position. This was fixed in master with commit 9d873fc3debe0. However, this fix never made it to 2.8. (The following merge (a96008f3aae2) did not import the fixes.) Note: This fix is ment to fix the alignment problem. I don't know if other parts of the code not merged are interesting or not. But if they are, they should be tackled separately. Reviewers: dfelinto Subscribers: venomgfx, dfelinto, raa, Severin Differential Revision: https://developer.blender.org/D3014
2018-01-22Merge branch 'master' into blender2.8Campbell Barton
2018-01-22WM: add mouse-move after smooth-viewCampbell Barton
When hot-spots moved under the pointer, clicking wouldn't activate the correct item.
2018-01-22Manipulator: draw all rules while draggingCampbell Barton
2018-01-22Merge branch 'master' into blender2.8Campbell Barton
2018-01-22Fix linking error when compiling without clay engineInes Almeida
2018-01-22Cleanup: unused varCampbell Barton
2018-01-21Merge branch 'master' into blender2.8Germano
# Conflicts: # intern/cycles/blender/blender_mesh.cpp # source/blender/editors/screen/screen_ops.c # source/blender/editors/space_view3d/drawobject.c
2018-01-21Update description of the screen_draw functionsGermano
2018-01-21WM: Fix snapping on split area without previewGermano
In addition to removing unnecessary variables and `tag_redraw` whenever the factor changes;
2018-01-21Cleanup: styleCampbell Barton
2018-01-20Merge branch 'master' into blender2.8Campbell Barton
2018-01-20Cleanup: doxy groups for screen_ops.cCampbell Barton
2018-01-20Merge branch 'master' into blender2.8Campbell Barton
2018-01-20Fix screen split preview refresh issuesCampbell Barton
Switching direction didn't refresh, also cursors were flipped.
2018-01-20Manipulator: tweak shape drawingCampbell Barton
Draw triangles over wire for a more subtle outline.
2018-01-20GPU_batch: Add GPU_batch_wire_from_poly_2d_encodedCampbell Barton
Draws wire around polygon shapes: better visibility w/ any background color.
2018-01-19Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2018-01-19Util function to determine number of digits from an integerDalai Felinto
2018-01-19Outliner: Remove User PreferencesDalai Felinto
This was introduced to the outliner when we had no User Preference window back in 2.5x. Right now it makes no sense to keep this around. But how about addon user preferences: * They belong in the user preference window under the addon. How about the user preferences themselves: * You find them in the user preference window. And templates? * Why are they here in the first place? After talking to Pablo Vazquez (who in turn poked Sergey Sharybin) we found it reasonable to get rid of this. If it turns out that we were wrong we revert this. As for leaving this exposed as a debug option (as suggested on IRC) I would say no, please. This end up polluting the code and never cleaned up in the end. (this was specific talking about templates). Technical note: I left the functions in outliner still hanging around. While I used UNUSED_FUNCTION for one of them, for the other one I had to use: `#if 0` because the function was calling itself, which would fail to build if I used UNUSED_FUNCTION.
2018-01-19Outliner: Fix unparenting poll (when drag'n'droping an object)Dalai Felinto
2018-01-19Outliner: Change All Scenes to Scenes and make it focus on compositingDalai Felinto
We have different ways of explore the scene objects, namely View Layer and Collections. This change let us focus on compositing elements only such as: * View Layers ** Collections ** Render Passes * Freestyle * Grease Pencil? Not included in this commit is an option to handle filtering of collections passes, ... Not sure if we would like, though. Since they are all properly nested under a "Collections" / "Passes" parent.
2018-01-19Outliner Filtering System + CleanupDalai Felinto
User notes: The outliner so far was a great system to handle the object oriented workflow we had in Blender prior to 2.8. However with the introduction of collections the bloated ammount of data we were exposed at a given time was eventually getting on the way of fully utilizing the outliner to manage collections and their objects. We hope that with this filtering system the user can put together the outliner with whichever options he or she seem fit for a given task. Features: * Collection filter: In case users are only focused on objects. * Object filter: Allow users to focus on collections only. * (Object) content filter: Modifiers, mesh, contrainst, materials, ... * (Object) children filter: Hide object children [1]. * Object State (visible, active, selected). * Compact header: hide search options under a search toggle. * Preserve scrolling position before/after filtering [2]. [1] - Note we still need to be able to tell if a children of an object is in a collection, or if the parent object is the only one in the collection. This in fact was one of the first motivations for this patch. But it is to be addressed separately now that we can at least hide children away. [2] - We look at the top-most collection in the outliner, and try to find it again after the filtering and make sure it is in the same position as before. This works nice now. But to work REALLY, REALLY nice we need to also store the previous filter options to be sure the element we try to keep on top was valid for both old and new filters. I would rather do this later though since this smell a lot like feature creeping ;) Remove no longer needed display options: * Current Scene (replaced by View Layer/Collections) * Visible (replaced by filter) * Selected (same) * Active (same) * Same Type (same-ish) How about All Scenes? I have a patch that will come next to replace the current behaviour and focus only on compositing. So basically stop showing the objects and show only view layers, their passes and collections, besides freestyle. Also, while at this I'm also reorganizing the menu to keep View Layer and Collections on top. Developer notes: * Unlike the per-object filtering, for collections we need to filter at tree creation time, to prevent duplication of objects in the outliner. Acknowledgements: Thanks Pablo Vazquez for helping testing, thinking some design questions together and pushing this to its final polished state as you see here. Thanks Sergey Sharybin and Julian Eisel for code review. Julian couldn't do a final review pass after I addressed his concerns. So blame is on me for any issue I may be introducing here. Sergey was the author of the "preserve scrolling position" idea. I'm happy with how it is working, thank you. Reviewers: sergey, Severin, venomgfx Subscribers: lichtwerk, duarteframos Differential Revision: https://developer.blender.org/D2992
2018-01-19Correct view3d_draw_bgpic_test declarationCampbell Barton
Was extern, which got out of sync, move into header.
2018-01-19Merge branch 'master' into blender2.8Campbell Barton
2018-01-19Fix T53788: Camera animation not workingSergey Sharybin
Both object level and camera datablock properties animation did not work with copy on write enabled. The root of the issue is going to the fact, that all interface elements are referencing original datablock. For example, View3D has pointer to camera it's using, and all areas which does access v3d->camera should in fact query for the evaluated version of that camera, within the current context. Annoying part of this change is that we now need to pass depsgraph in lots of places. Which is rather annoying. Alternative would be to cache evaluated camera in viewport itself, but then it makes it annoying to keep things in sync. Not sure if there is nicer solution here. Reviewers: dfelinto, campbellbarton, mont29 Subscribers: dragoneex Differential Revision: https://developer.blender.org/D3007
2018-01-19Fix T53786: Proportional size from redo ignoredCampbell Barton
Changing PET size while transforming stores the size in the tool settings, but changing in the redo panel didn't.
2018-01-19Merge branch 'master' into blender2.8Campbell Barton
2018-01-19Cleanup: sync w/ blender2.8 branchCampbell Barton
Split screen_draw.c from screen_edit.c (avoid conflicts syncing).
2018-01-19Merge branch 'master' into blender2.8Campbell Barton
2018-01-19Merge branch 'master' into blender2.8Campbell Barton
2018-01-19WM: window draw callbacks and split preview snapmano-wii
This moves window overlay from hard coded flags into drawing callbacks. It also supports snapping (holding Ctrl).
2018-01-19Cleanup: typosCampbell Barton
2018-01-18Outliner: Fix parenting clear pollDalai Felinto
2018-01-18Outliner: Use (temporary) icons for collectionsDalai Felinto
We need new icons for collections. Yet we are using them in a few places, so we may as well be consistent and use it everywhere.
2018-01-18Outliner: Rename "Active View Layer" > "View Layer"Dalai Felinto
The original name came from a cheap conversion of the "active layer" option to "active render layer" and then "active view layer".
2018-01-18Outliner: Keep header operator-free and edit menu cleanupDalai Felinto
Headers should not have operators as much as possible. The exception here is for datablocks mode when you want to see the active keyset. Edit menus on the other hand should be clearly distinct from the RMB context menus. Edit menu options should be only the ones that apply to the entire outliner, regardless of the selected element. Context (rmb) menus should be related to the element you RMB on to invoke the menu. I'm also taking this opportunity to start bringing the context menus to Python. There is little reason not to, and it helps editing them (In this case I'm doing it only for the Scene Collection one).
2018-01-18Merge branch 'master' into blender2.8Campbell Barton
2018-01-18Cleanup: label scene flags more clearlyCampbell Barton
Also correct typo in enum name
2018-01-18WM: improved area resize snappingmano-wii
Instead of 10px steps, snap to mid-point & adjacent edges. Not yet implemented for split preview.
2018-01-18Merge branch 'master' into blender2.8Brecht Van Lommel
2018-01-18Fix buffer overflow vulnerability in curve, font, particles code.Brecht Van Lommel
Solves these security issues from T52924: CVE-2017-12102 CVE-2017-12103 CVE-2017-12104 While the specific overflow issue may be fixed, loading the repro .blend files may still crash because they are incomplete and corrupt. The way they crash may be impossible to exploit, but this is difficult to prove. Differential Revision: https://developer.blender.org/D3002
2018-01-18Fix buffer overflow vulnerabilities in mesh code.Brecht Van Lommel
Solves these security issues from T52924: CVE-2017-12081 CVE-2017-12082 CVE-2017-12086 CVE-2017-12099 CVE-2017-12100 CVE-2017-12101 CVE-2017-12105 While the specific overflow issue may be fixed, loading the repro .blend files may still crash because they are incomplete and corrupt. The way they crash may be impossible to exploit, but this is difficult to prove. Differential Revision: https://developer.blender.org/D3002
2018-01-18Loop Cut: Allow mouse placement w/ numeric inputCampbell Barton
D2973 by @cyaoeu
2018-01-17Merge branch 'master' into blender2.8Sybren A. Stüvel
2018-01-17Delete Invalid Drivers: more lenient poll functionSybren A. Stüvel
This function is faster and also allows for deletion of invalid drivers in nested data blocks (for example in shape keys). Thanks @sergey!
2018-01-17Merge branch 'master' into blender2.8Sybren A. Stüvel
2018-01-17Simplified GRAPH_OT_driver_delete_invalid after feedback @aligorithSybren A. Stüvel
By adding the ANIMFILTER_NODUPLIS flag to the filter it'll only be processing each F-Curve once, which means we can remove while iterating. This also solves a potential issue when a datablock has a driver and is shared among multiple objects.
2018-01-17Merge branch 'master' into blender2.8Sybren A. Stüvel