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
2017-11-06Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: intern/cycles/device/device.cpp source/blender/blenkernel/intern/library.c source/blender/blenkernel/intern/material.c source/blender/editors/object/object_add.c source/blender/editors/object/object_relations.c source/blender/editors/space_outliner/outliner_draw.c source/blender/editors/space_outliner/outliner_edit.c source/blender/editors/space_view3d/drawobject.c source/blender/editors/util/ed_util.c source/blender/windowmanager/intern/wm_files_link.c
2017-11-06Rename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.Bastien Montagne
This makes code closer to id_override/assent-engine ones, which introduce a new type of linked data, and hence reserve ID_IS_LINKED_DATABLOCK to real linked datablocks.
2017-11-06Fix T53250: Crash when linking/appending a scene to a blend when another ↵Bastien Montagne
linked scene in this blend is currently open/active. Inner DAG code would not check against NULL pointer, and in case of an active linked scene, scene pointer will be NULL here, so we have to check it ourself. ;)
2017-11-05Merge branch 'master' into blender2.8Campbell Barton
2017-11-05Cleanup: order buffer length after the bufferCampbell Barton
2017-11-05Cleanup: spellingCampbell Barton
2017-11-03Depsgraph: Port more areas to direct depsgraph APISergey Sharybin
This is a lots of changes, but they are boiling down to a simple API changes where we are no longer relying on implicit usage of scene's depsgraph and pass depsgraph explicitly. There should be no user measurable difference, render_layer* tests are also passing.
2017-11-02UI: workaround glitch refreshing the toolbarCampbell Barton
2017-11-02UI: support nested tools in toolbarCampbell Barton
2017-11-02Merge branch 'master' into blender2.8Campbell Barton
2017-11-02UI: use button_operator in operator_menu_holdCampbell Barton
Move draw calls into UI_menutype_draw
2017-10-31Merge branch 'master' into blender2.8Campbell Barton
2017-10-31UI: replace UI_ITEM_O_RETURN_PROPS /w return argCampbell Barton
Means we can have a version of this function that returns the button and avoids returning a struct that often isn't used.
2017-10-30Fix T53191: Python API Reference link wrong in splash screen.Bastien Montagne
Forgot to update splashscreen links when we switched API doc naming scheme...
2017-10-30Fix manipulator drawing before their refresh callbackCampbell Barton
Caused glitch with Scale-Cage tool.
2017-10-26Move background images into the cameraCampbell Barton
This moves background images out of the 3D viewport, to be used only as camera reference images. For 3D viewport references, background images can be used, see: D2827 Some work is still needed (background option isn't working at the moment).
2017-10-26Cleanup: Remove unused argument from ED_update_for_newframeSergey Sharybin
This funciton will be extended, so better to get rid of unused arguments before adding new ones.
2017-10-26Merge branch 'master' into blender2.8Campbell Barton
2017-10-26Event System: check_click was left setCampbell Barton
Caused by own change 137586a13c
2017-10-24Depsgraph: Avoid explicit relations rebuild callsSergey Sharybin
We wouldn't know which dependency graphs needs/safe for reconstruction, so rather use API which tells that relations are out of date. This way graph evaluation will take care of the rest. Committing to 2.8 only since it's where we can't reliably know the graph and is probably not that safe to apply this in master.
2017-10-23Merge branch 'master' into blender2.8Julian Eisel
2017-10-21Move & rename uiLayoutOperatorButs to interface_templates.cJulian Eisel
2017-10-21Manipulator: name remove func's 'unlink_delayed'Campbell Barton
Name wasn't right since this only unlinks from manipulator maps.
2017-10-21WM: Initial Tool SystemCampbell Barton
The tool-system it's self is primitive and may be changed. Adding to 2.8 to develop operators and manipulators as tools. Currently this is exposed in the toolbar, collapsed by default. Work-flow remains unchanged if you don't change the active tool. Placing the 3D cursor is now a Click instead of a Press event, this allows tweak events to be mapped to tools such as border select, keeping click for 3D cursor placement when selection tools are set.
2017-10-19Fix operators adding manipulators multiple timesCampbell Barton
Running spin or bisect twice in a row added widget groups each time.
2017-10-18Fix crash accessing enums without a contextCampbell Barton
2017-10-18Merge branch 'master' into blender2.8Campbell Barton
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-10-17Merge branch 'master' into blender2.8Campbell Barton
2017-10-17WM: move gesture operator callbacks into own fileCampbell Barton
`wm_operators.c` is near 5k LOC with lots of mixed functionality, extract gesture callbacks since they aren't closely related.
2017-10-17Merge branch 'master' into blender2.8Campbell Barton
2017-10-17Cleanup: use 'e' prefix for enum typedefsCampbell Barton
Convention was only followed loosely, apply to DNA where changes aren't likely to conflict. (Skipped ModifierType for eg).
2017-10-17Merge branch 'master' into blender2.8Campbell Barton
2017-10-17WM: immediate line-gesture activation on tweakCampbell Barton
Matches border-gesture behavior, needed for binding bisect to tweak event.
2017-10-16Workspace: Move engines to workspace and Properties Editor cleanupDalai Felinto
Engine is not stored in WorkSpaces. That defines the "context" engine, which is used for the entire UI. The engine used for the poll of nodes (add node menu, new nodes when "Use Nodes") is obtained from context. Introduce a ViewRender struct for viewport settings that are defined for workspaces and scene. This struct will be populated with the hand-picked settings that can be defined per workspace as per the 2.8 design. * use_scene_settings * properties editor: workshop + organize context path Use Scene Settings ================== For viewport drawing, Workspaces have an option to use the Scene render settings (F12) instead of the viewport settings. This way users can quickly preview the final render settings, engine and View Layer. This will affect all the editors in that workspace, and it will be clearly indicated in the top-bar. Properties Editor: Add Workspace and organize context path ========================================================== We now have the properties of: Scene, Scene > Layer, Scene > World, Workspace [Scene | Workspace] > Render Layer > Object [Scene | Workspace] > Render Layer > Object > Data (...) Reviewers: Campbell Barton, Julian Eisel Differential Revision: https://developer.blender.org/D2842
2017-10-16Merge branch 'master' into blender2.8Campbell Barton
2017-10-16WM: refactor gestures for use as toolsCampbell Barton
Border and circle select wait for input by default. This commit uses bool properties on the operators instead of magic number (called "gesture_mode"). Keymaps that define 'deselect' for border/circle select begin immediately, exiting when on button release.
2017-10-16Cleanup: modal operator border callback namesCampbell Barton
Use same convention as all others. Remove 'select' since these are used for zoom as well.
2017-10-16WM: store modal operator last-propertiesCampbell Barton
Avoids modal operators needing to explicitly store them.
2017-10-16WM: Don't save mouse-paths to operator historyCampbell Barton
In preparation for modal operators storing their properties, no need to keep mouse-paths around. Also use generic function for lasso properties.
2017-10-16WM: remove hard-coded circle radius memoryCampbell Barton
Replace with operator type 'last_properties'. Also use generic function for circle gesture properties.
2017-10-16Merge branch 'master' into blender2.8Campbell Barton
2017-10-16Event System: Prevent mouse motion in click eventsCampbell Barton
Don't convert mouse button events to click if they include dragging. Double-click events already checked for this.
2017-10-16Cleanup: simplify lasso reallocationCampbell Barton
Remove unneeded define, double allocations when increasing.
2017-10-16Cleanup: rename gesture mode to is_activeCampbell Barton
Wasn't obvious what this did at a glance.
2017-10-14Merge branch 'master' into blender2.8Campbell Barton
2017-10-14Cleanup: use const for eventsCampbell Barton
2017-10-11Merge branch 'master' into blender2.8Sergey Sharybin
2017-10-08Fix potential string buffer overruns.Bastien Montagne
Note that our library path handling is still rather dodgy on this regards, shall take some time at some point to seriously sanitize it...
2017-10-07Cleanup: style, duplicate includesCampbell Barton