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-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-24Merge branch 'master' into blender2.8Brecht Van Lommel
2017-10-23VSE: draw grid lines at every secondCampbell Barton
Was hard-coded to 25 frames. D2893 by @jooert
2017-10-23Merge branch 'master' into blender2.8Julian Eisel
2017-10-21Move & rename uiLayoutOperatorButs to interface_templates.cJulian Eisel
2017-10-21Manipulator: move 'Scale Cage' to its own toolCampbell Barton
Was activated with the regular scale manipulator, move to own tool since they are different ways to access scale.
2017-10-18Merge branch 'master' into blender2.8Campbell 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-17Make auto handle placement aware of cyclic extrapolation.Alexander Gavrilov
Cyclic extrapolation is implemented as an f-curve modifier, so this technically violates abstraction separation and is something of a hack. However without such behavior achieving smooth looping with cyclic extrapolation is extremely cumbersome. The new behavior is applied when the first modifier is Cyclic extrapolation in Repeat or Repeat with Offset mode without using influence, repeat count or range restrictions. This change in behavior means that curve handles have to be updated when the modifier is added, removed or its options change. Due to the way code is structured, it seems it requires a helper link to the containing curve from the modifier object. Reviewers: aligorith Differential Revision: https://developer.blender.org/D2783
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-16Fix warnings for notifier listenersJulian Eisel
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-14Merge branch 'master' into blender2.8Campbell Barton
2017-10-14Cleanup: use const for eventsCampbell Barton
2017-10-12Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/screen/screen_edit.c
2017-10-12Fix T52999: floating (popup) panels/menus could jump around screen in some ↵Bastien Montagne
cases. Would happen during panel's refresh drawing, if drawing code had to adjust final panel position compared to the initial one computed based on the mouse coordinates, and user had dragged the floating panel around. Issue fixed by adjusting stored mouse coordinates once final panel position is known, such that they would directly generate those coordinates. that way, the basic offset applied to those stored mouse coordinates during panel dragging is valid, and recreating panel based on those won't make it jump in screen. Note that panel will still jump in case user dragged it partially out of view - we could prevent that, but imho it's better to keep that behavior, since redraw can generate a popup of different size, which could end up with a totally out-of-view one... Hopefully this fix does not break anything else!
2017-10-09Manipulator: add cage3d scale widgetCampbell Barton
For now only show this when scale manipulator is active.
2017-10-06Fix crash when deleting workspace active in multiple windowsJulian Eisel
2017-09-29Merge branch 'master' into blender2.8Campbell Barton
2017-09-29Vertex Paint: Alpha SupportCampbell Barton
GSOC 2017 by Darshan Kadu, see: D2859. This is a partial merge of some of the features from the soc-2017-vertex_paint branch. - Alpha painting & drawing. - 10 new color blending modes. - Support for vertex select in vertex paint mode.
2017-09-28Missed in last merge from masterCampbell Barton
Local changes built, but merge-commit needed amending.
2017-09-19Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-18Add some security checks against future bad float UIprecision values.Bastien Montagne
This commit and previous one should be backported to 2.79a should we release it.
2017-09-13Manipulator: alternate cage2d draw styleCampbell Barton
Doesn't rely on hovering, more consistent with 2D drawing tools.
2017-09-13Merge branch 'master' into blender2.8Campbell Barton
2017-09-13Manipulator: cage2d option to grab w/ a center handleCampbell Barton
2017-09-13Manipulator: Only allow negative scale w/ flag setCampbell Barton
In most cases we don't want this by default
2017-09-12Adding some verbose documentationJoshua Leung
I thought this was already clear enough, but apparently not.
2017-08-30Manipulator: replace old cage2d manipulatorCampbell Barton
Mostly internal changes, keeping both manipulators could have worked but there was no point long term. There are still some glitches to resolve, will work on those next.
2017-08-29Manipulator: new cage2d manipulatorCampbell Barton
Adding alongside the existing one for now, but it should eventually replace it. Uses a matrix instead of (position + scale), written so rotation can be done more easily. Currently has a primitive handle for rotation, supports corner scaling.
2017-08-29View2D: function to get view to region matrixCampbell Barton
2017-08-29Merge branch 'master' into blender2.8Campbell Barton
2017-08-29Cleanup: naming (RECT -> CAGE2D)Campbell Barton
Make cage2d 'part' defines public (needed to assign operator actions).
2017-08-28Merge branch 'master' into blender2.8Campbell Barton
2017-08-28Transform: center overrideCampbell Barton
Hidden option to override transform center. Needed for manipulators that define their own center.
2017-08-17Merge branch 'master' into blender2.8mano-wii
2017-08-16Transform: Move enum `SnapSelect` to `ED_transform_snap_object_context`mano-wii
2017-08-16Pass EvaluationContext instead of bContextCampbell Barton
2.8x branch added bContext arg in many places, pass eval-context instead since its not simple to reason about what what nested functions do when they can access and change almost anything. Also use const to prevent unexpected modifications. This fixes crash loading files with shadows, since off-screen buffers use a NULL context for rendering.
2017-08-11Merge branch 'master' into blender2.8Campbell Barton
2017-08-11Object Apply Transform: option to apply propertiesCampbell Barton
In some cases users may want to disable this option to avoid changing other properties besides vertex locations.
2017-08-11Transform: Snap used multiple eval contextsCampbell Barton
Changes for 2.8x to use EvaluationContext caused some confusion - Would use scene layer passed from snap context. - Would generate duplis from Main eval context. - Would take context argument and use it to create another eval context. Adding context args all over and filling in a new eval-context for every ray-cast test isn't ideal either. Remove the context argument since the purpose of SnapObjectContext is to avoid this kind of confusion. Store the EvaluationContext once and re-use.
2017-08-10Manipulator: grab3d option to align to viewCampbell Barton
Use for lamp-target, makes it easier to click on.
2017-08-10Manipulator: rename grab enumCampbell Barton
We'll want some 3D shapes, so name existing shapes 2D
2017-08-09Manipulator: grab3d - support for 2d viewsCampbell Barton
Also internal changes so arrow3d matches grab3d's behavior. Needed to add WM_MANIPULATOR_DRAW_OFFSET_SCALE flag so we can optionally apply offset in worldspace or screen scaled values.
2017-08-09Manipulator: replace hard coded color w/ themeCampbell Barton
2017-08-08Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/depsgraph/intern/builder/deg_builder_relations.cc source/blender/editors/object/object_add.c source/blender/python/intern/bpy_app_handlers.c
2017-08-08Cleanup: remove incorrect commentCampbell Barton
enum values aren't saved in files.
2017-08-05Merge branch 'master' into blender2.8Campbell Barton