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
2016-06-23Dopesheet: Lasso and Circle Select tools work for selecting keyframesJoshua Leung
This only works in the Action and Dopesheet modes (which operate on FCurve keyframes). Support for Grease Pencil and Mask Keyframes though is still pending.
2016-06-23Code Cleanup - Circle/Lasso select in the Graph EditorJoshua Leung
2016-06-23GPencil: Added a new version of the "delete active frame" operator which ↵Joshua Leung
deletes on all editable layers This new operator will delete any GP frame it finds on the current frame, regardless of whether it's on the active layer or not. It will only remove the frames if the layer is editable, but otherwise, it will just go for it. The existing operator is great for use in the panel (where it only applies to the active frame), but it was not so good for all the other places where tools can be invoked (e.g. D-X, or Delete) as you're typically thinking about the whole scene more holisticaly than just caring about a particular layer.
2016-06-23Fix T48689: Transform proportional size was not seriously clamped.Bastien Montagne
Now use same, reasonable min/max values, to avoid getting inf or zero values when using shortcuts during transform operation...
2016-06-23Fix T48658: Cycles render & render preview corrupts particlesCampbell Barton
Replaces `G.is_rendering` with `use_render_params` argument. This is needed for Cycles, which attempts to restore render-preview settings from particles, after it gets its own particle data, but fails to restore because `G.is_rendering` was being checked in psys_cache_paths (and other places).
2016-06-22ID-Remap, step two: add some user-level tools.Bastien Montagne
This commit adds operators and Outliner menu entries to reload or relocate a library, and to delete or replace a datablock. RNA ID API is also extended to allow ID deletion and remapping from python. Review task: D2027 (https://developer.blender.org/D2027). Reviewed by campbellbarton, thanks a bunch.
2016-06-22ID-Remap - Step one: core work (cleanup and rework of generic ID datablock ↵Bastien Montagne
handling). This commit changes a lot of how IDs are handled internally, especially the unlinking/freeing processes. So far, this was very fuzy, to summarize cleanly deleting or replacing a datablock was pretty much impossible, except for a few special cases. Also, unlinking was handled by each datatype, in a rather messy and prone-to-errors way (quite a few ID usages were missed or wrongly handled that way). One of the main goal of id-remap branch was to cleanup this, and fatorize ID links handling by using library_query utils to allow generic handling of those, which is now the case (now, generic ID links handling is only "knwon" from readfile.c and library_query.c). This commit also adds backends to allow live replacement and deletion of datablocks in Blender (so-called 'remapping' process, where we replace all usages of a given ID pointer by a new one, or NULL one in case of unlinking). This will allow nice new features, like ability to easily reload or relocate libraries, real immediate deletion of datablocks in blender, replacement of one datablock by another, etc. Some of those are for next commits. A word of warning: this commit is highly risky, because it affects potentially a lot in Blender core. Though it was tested rather deeply, being totally impossible to check all possible ID usage cases, it's likely there are some remaining issues and bugs in new code... Please report them! ;) Review task: D2027 (https://developer.blender.org/D2027). Reviewed by campbellbarton, thanks a bunch.
2016-06-22EditMesh: Avoid creating deform-vert layer every redrawCampbell Barton
Getting a new edit-derived-bmesh was always creating a deform-vert array, even when it wasn't needed. Since this was called on redraw, in many cases it was doing it unnecessarily. Now pass in a custom-data mask and only fill in deform-verts when needed. Gives noticeable drawing speedup (~10-30% here).
2016-06-22Cleanup: styleCampbell Barton
2016-06-22Fix T48703: Name inconsistency w/ area maximize/fullscreenCampbell Barton
Name operator based on default behavior.
2016-06-21Fix T48697: Brush curve-stroke snaps strangelyCampbell Barton
Support Snapping screen-space 2d curves, (was applying world-space coords in screen-space). Also show snap settings in header.
2016-06-21Text Object: Vertical AlignmentDalai Felinto
A new option for Font/Text objects vertical alignment: * Top Base-Line (current mode) * Top * Center * Bottom The Top is the equivalent as the Top-Baseline with an empty line at the begin of the text. It's nice to have this option too though, since if we are driving the alignment via Python we don't want to add extra lines to the text only to accomodate to the desired vertical alignment. The Center and Bottom are as intuitive as their name suggest. When working with text boxes, the vertical alignment only work for paragraphs that are not vertically full. Many thanks to Campbell Barton (ideasman42 / @campbellbarton) for the code review, code comments, and overall suggestions and changes :) Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D2061
2016-06-18Cleanup: style, whitespace, doxy filepathsCampbell Barton
2016-06-16Vertex paint color operationsCampbell Barton
D2050 by @metaraptor with edits Adds levels, brightness/contrast, hsv & invert operations.
2016-06-16Fix ruler crash using stale snap-contextCampbell Barton
Since ruler allows other operators to run (such as mode-switching). Only cache snap-context while dragging.
2016-06-15Fix T48654: outline text visible while renamingCampbell Barton
Both button and rename text would draw while renaming, caused issues with some themes.
2016-06-14Text Editor: auto-complete removed entire word on undoCampbell Barton
2016-06-14VSE: minor drawing glitch with meta'sCampbell Barton
Meta contents could obscure meta selection outline, draw after.
2016-06-14Correct update issue caused by recent commitCampbell Barton
VSE effects within a meta-strip could fail to update on cancel.
2016-06-14Fix VSE updating effects within metasCampbell Barton
Missing update caused internal lengths to be wrong.
2016-06-14FileSpace cleanup: make ED_path_extension_type public.Bastien Montagne
Maybe we should move it to BLI, but not sure how, and where (and its defines are SpaceFile's ones, meh :| ).
2016-06-14Fix T48649: VSE meta-strip overlap shuffles recursivelyCampbell Barton
2016-06-14Correct sequencer transform checkCampbell Barton
Check to avoid operating on same strip multiple times wasn't working. Harmless but better make it functional.
2016-06-14Usual UI/i18n message fixes.Bastien Montagne
2016-06-13Made incremental snapping intervalls smaller for UV editorPhil Gosch
Before the intervall was set to 0.125 which effectively resulted in 8 positions across the UV space (per axis). I halved that value, holding shift enables an even finer movement. This change was ported over from my soc-2016-uv_tools branch after talking with howardt, ideasman42 and hackerman-
2016-06-13Curve Fitting: add high-quality flagCampbell Barton
When this flag is set - even when the curve error is under the threshold, keep attempting a better fit. Enable this for freehand drawing, since it gives nicer results and isn't noticeably slower.
2016-06-13Fix T48595: UI glitch with driver menu re-openingCampbell Barton
Holding Ctrl-D would keep opening driver menus.
2016-06-13Bevel segments also changeable with mouse (S toggle).Howard Trickey
Also, can use numeric input to set segments and profile when in those respective value-adjusting modes (as per S or P toggle). Finally, fixed problem with previous bevel commit: when changing value-adjusting mode, would like to start off resumed value adjustment where it was before.
2016-06-13Fix glShadeModel being left flat in edit-mode drawCampbell Barton
2016-06-13Fix T48616: Auto-merge selects extra edgesCampbell Barton
Auto-merge caused all edges between selected vertices to be selected. This only makes sense in vertex-select-mode. Correct edge-flag merging code, which now merges flags from multiple edges.
2016-06-12Fix T48604: Crash on undo due to bad drawing code.Bastien Montagne
Short story: draw_lamp would add itself to delayed transp drawing list from 'xray' drawing step. This was broken, since delayed transp drawing list is always handled **before** delayed xray one. After undo it lead to segfault crash, v3d->afterdraw_transp still having reference to old freed scene's base. Also added asserts that those afterdraw list are empty at end of drawing step, should help avoiding that kind of issue in future.
2016-06-12bmesh py api: expose BM_face_calc_tangent_*Campbell Barton
D1988 by @wisaac, with own edits and improvements. This improves on existing tangent calculation functions too. - BM_face_calc_tangent_auto: Chooses method based on number of sides, used by manipulator (not exposed to Python). - BM_face_calc_tangent_edge: from longest edge. - BM_face_calc_tangent_edge_pair: from longest edge-pair (most useful with quads). - BM_face_calc_tangent_edge_diagonal: edge farthest from any vertex. - BM_face_calc_tangent_vert_diagonal: vert farthest from any vertex. Also optimize BM_vert_tri_calc_tangent_edge* functions to avoid sqrt.
2016-06-11Fix T48617: VSE: Do not draw backdrop in Seq + Preview mode, only makes ↵Bastien Montagne
sense when no preview is available...
2016-06-10VSE: select by group: add option to select by group on same channel only.Bastien Montagne
2016-06-10GPU: use basic-shader for line-stippleCampbell Barton
2016-06-10Remove redundant GL attribute push/popCampbell Barton
Stipple isnt left on during object drawing
2016-06-09GPU: avoid multiple bind calls in GPU_draw_pbvh_buffersCampbell Barton
Also add utility functions: GPU_basic_shader_bind_enable/disable so we don't have to get the previous state every time and manipulate it
2016-06-09Flat shading for basic shaderAlexander Romanov
The purpose of the patch is to replace deprecated glShadeModel. To decrease glShadeModel calls I've set GL_SMOOTH by default Reviewers: merwin, brecht Reviewed By: brecht Subscribers: blueprintrandom, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D1958
2016-06-08Fix armature stick draw, unpack-alignment was set but never restoredCampbell Barton
Drawing a single stick bone set the alignment to 1, applying this setting to the rest of Blender.
2016-06-08glutil: add glaGetOneInt helperCampbell Barton
2016-06-08GPU: fix texface image w/ basic-shaderCampbell Barton
2016-06-08Make uiLists placed in popups usableJulian Eisel
It's still not completely working - there are still some glitches - but far better than before. To make buttons of the uiList work, you have to add a 'check' callback to the operator that invokes the menu. Only if it returns True, the uiList gets refreshed. To avoid this we have to make the region refresh tagging in the entire button handling a bit smarter. Changes I had to do: * Call uiList handling from menu/popup handling if needed. * Make uiList handling use special popup refresh tag if placed in menu. * Allow popups invoked from py operator to tag for refresh by using operator 'check' callback. * Tag popup for refresh when resizing uiList. Mostly fixes T48612.
2016-06-08Cleanup: typoCampbell Barton
2016-06-08Cleanup: typosCampbell Barton
2016-06-083D Text: Use BLI_array_store for undo storageCampbell Barton
2016-06-083D Text: Store separate arrays for undo dataCampbell Barton
Don't store maximum length of text per undo step, or attempt to pack all data in a single array. Was storing 32766 characters per undo step, irrespective of actual text length.
2016-06-083D Text: move undo into its own fileCampbell Barton
2016-06-08BLI_array_store: move helper functions into their own APICampbell Barton
2016-06-07Fix T48600: VSE strip 'side selection' fails in 'Both' case.Bastien Montagne
Looks like a line was forgotten in the 'BOTH' case in code...
2016-06-07GPU: Fix for glDrawPixels drawing w/ glsl shaderCampbell Barton
The basic shader needs to be temporarily disabled in this case. Add macros for temp store/restoring the state.