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-04-01Fix T48001: Highlighting selected item in filtered lists.Bastien Montagne
active index was not reset to 'nothing' in case actual active item was filtered out.
2016-04-01Knife Project: revert fix for T43896Campbell Barton
For now leave precision at half a pixel until we have real fix. Resolves T48023.
2016-04-01BMesh: improve path-select fill region w/ ngonsCampbell Barton
Rewrote to work with ngons and and more complex topology, now uses separate function. Fixes T48009.
2016-04-01Fix T48013: UV Sculpt Brush Does not appear in UV window - but does show up ↵Philipp Oeser
in uv panels (t, n) Epic fail in recent rB2c3985 :/ To be backported to 2.77a!
2016-04-01Fix When using keying sets, the toggling "all items" in the array target ↵Joshua Leung
only goes from the index value down, instead of keying all
2016-04-01Cleanup: style/spellingCampbell Barton
2016-04-01Use STRPREFIX macro for testing property nameCampbell Barton
2016-03-31Fix NULL check before freeCampbell Barton
2016-03-31Fix memory leak when assigning driverJulian Eisel
Also added NULL-checks for RNA paths, though they might be a bit paranoid.
2016-03-31Fix memory leak when calling new driver eyedropperJulian Eisel
Would return OPERATOR_RUNNING_MODAL for non-modal operator.
2016-03-31Fix T47985: VSE GL-render scene strip hangsCampbell Barton
Regression in d5f1b9c22, threading deadlock rendering a scene from the OpenGL preview.
2016-03-31Usual ui messages fixes/tweaks.Bastien Montagne
2016-03-30Use Ctrl-Shift-RMB for to enable 'Fill Region'Campbell Barton
2016-03-30Shortest Path Select: option to select all paths between 2 elementsCampbell Barton
This option selects all paths between source/destination which are no longer than the path found. Handy for selecting meshes with a grid-topology.
2016-03-30Fix T48000: Eyedropper sample-merged ignored at firstCampbell Barton
2016-03-29Fix transform center2d for 2d viewsCampbell Barton
While this didn't show up as a bug, the center2d was being calculated with a zero aspect, causing TransInfo.center2d to be NAN.
2016-03-29GPencil New Stroke Smoothing: Don't perform smoothing on pressure valuesJoshua Leung
As noted by Antonio and Daniel, performing smoothing on the pressure values for new strokes doesn't work that great. From an artist POV, it is apparently "very strange that line thickness shrink suddenly after drawing it".
2016-03-29Driver Mapping Types: Added temporary icons to break up the two types of ↵Joshua Leung
mapping behaviours (modal vs manual)
2016-03-29RMB Menu: Add icons for delineating each cluster of options in this menuJoshua Leung
From T33052 by Harley Acheson (harley)
2016-03-29Drivers Setup: Expose all mapping types for creating driversJoshua Leung
* This includes the "manually create" modes, which correspond to the previous behaviour for setting up drivers. This is necessary when the current screen layout is not well suited to having multiple property editors open (e.g. small screen or heavily subdivided screen). * Only the modes relevant for the current property type (i.e. array vs single) will be shown * The "Add Driver" entries in the RMB context menu have now been replaced by a submenu which will list all the available mapping types. * NOTE: The code for the ANIM_OT_button_driver_add() operator is perhaps a bit hairy. However, it currently allows us to have the desired behaviour. It can always get cleaned up later though.
2016-03-28Fix T47958: Crash in Walk or Fly Navigation in Camera mode when invoking ↵Bastien Montagne
from non-3DView region
2016-03-28T47532: Pop-ups drop fast mouse clicksJulian Eisel
Caused by rBc24be7ec6e5. Before rBc24be7ec6e5, wm_handlers_do always called handlers a second time with event value KM_PRESS in case of a double click. After it, this was only the case for non-LEFTMOUSE events. Since ui_popup_handler (almost) always returned WM_UI_HANDLER_BREAK, the second handler iteration with KM_PRESS wouldn't run. This fix just makes sure we return WM_UI_HANDLER_CONTINUE for double click events instead (causing second iteration to run).
2016-03-28Fix T47969: Select Random always uses same seedCampbell Barton
Increment the seed on each use, otherwise calling again selects the same order, unless you manually adjust the seed.
2016-03-28Fix T47898: Error adding mask node with "Add Mask Node" operatorSergey Sharybin
This operator is intended to be used by drag-n-drop, no user invocation is expected to happen here. Use Add->Search to quickly add nodes instead.
2016-03-28Cleanup: Unused variableSergey Sharybin
2016-03-28Graph Editor UI: Experimental Tweak - Use tabs for properties region, to ↵Joshua Leung
make it easier to navigate
2016-03-28GPencil: Note that clicking outside the active area also exits draw modeJoshua Leung
2016-03-27GPencil: Remove the old UserPrefs-based On/Off Stroke Smoothing methodJoshua Leung
This never really worked that well, and often ended up being far too strong to be of practical use. The new options do similar things, but with greater control, so removing this old method now.
2016-03-27GPencil: Smooth and Subdivision variable/setting namingJoshua Leung
On second thought, these might be better names for these... I'm still not 100% happy with these, but they will do for now. (Best results currently seem to be with smooth 0.7, and subdivision steps 1 or 2)
2016-03-27GPencil: Removed the restriction of not subdividing strokes further if it ↵Joshua Leung
exceeds GP_STROKE_BUFFER_MAX Assuming that this subdivision + smoothing mostly only happens at the end of a stroke anyway, enforcing this max-points limit in some cases was resulting in strokes that weren't quite getting subdivided properly as the others.
2016-03-27GPencil: Code Cleanup - Simplify and clarify the code for subdividing a strokeJoshua Leung
2016-03-27GPencil: Restore ability for Smooth brush to affect pressure values of strokesJoshua Leung
2016-03-27Code Cleanup - Style tweaksJoshua Leung
2016-03-27Improve grease pencil stroke qualityAntonio Vazquez
Improve the quality of current grease pencil strokes adding a new dynamic smooth and subdivision. The level of smooth and subdivide can be adjusted using UI parameters. These options are disabled by default in order to keep the grease pencil stroke compatible with any existing add-on. Both parameters are defined at layer level. Reviewers: aligorith Differential Revision: https://developer.blender.org/D1866
2016-03-27More tooltip tweaksJoshua Leung
The "UI_OT_eyedropper_id" operator only actually works in the 3D view, so change the tooltip to match that
2016-03-27Cleanup: Silence some compiler warningsSergey Sharybin
2016-03-27Driver Eyedropper: Auto detection/correction magic for rotation propertiesJoshua Leung
When linking a rotation property to a non-rotation property (going in either direction - i.e. rot -> normal, normal -> rot), the driver expression will now be set so that the new drivers behave as expected (i.e. you get the values you see, instead of "weird" values that seem several orders of magnitude off). This may not be that great for everyone (i.e. the rare users out there who actually like to look at their rotations in radians), but they usually know what they're doing anyway, so this will be easy to correct.
2016-03-27Drivers: Add a "none" mode for use when adding driversJoshua Leung
Although it isn't currently exposed, this allows for the old behaviour, where an "empty" driver was added (without any target assigned yet). For this reason, it's also referred to as the "Manual" mode. There are also some attempts at improving the tooltips + names for the other modes (again, not shown anywhere yet)
2016-03-27Code Cleanup - Split out the property-button-finding code so that it can be ↵Joshua Leung
used for other eyedroppers
2016-03-26Driver Variable Name Validation: Added missing check for zero-length (i.e. ↵Joshua Leung
"blank") names
2016-03-26Driver Setup Workflow Improvement: Property EyedropperJoshua Leung
This commit brings some long requested improvements to the workflow for setting up drivers, which should make it easier and faster to set up new drivers in a more interactive fashion. The new workflow is as follows: 1) Hover over the property (e.g. "Lamp Energy" or "Y Location") or properties ("Rotation") you wish to add drivers to. We'll refer to this as the "destination" 2) Ctrl-D to active the new "Add Drivers" eyedropper 3) Click on the property you want to use as the source/target. The property under the mouse will be used to drive the property you invoked Ctrl-D on. For example, to drive the X, Y, and Z location of the Cube using the Y Location of the Lamp, hover over any of the X/Y/Z location buttons, hit Ctrl-D, then click on the Y-Location button of the Lamp object. Drivers will be added to the X, Y, and Z Location properties of the Cube; each driver will have a single variable, which uses the Y-Location Transform Channel of the Lamp. Tips: - Transform properties will automatically create "Transform Channel" driver variables. Everything else will use "Single Property" ones - Due to the way that Blender's UI Context works, you'll need two Properties Panel instances open (and to have pinned one of the two to show the properties for the unselected object). It's slightly clunky, but necessary for implementing a workflow like this, as the UI cannot be manipulated while using eyedroppers to pick data. - The eyedropper operator implemented here actually has three modes of operation. 1) The "1-N" (one to many) mode is the default used for Ctrl-D, and "Add Driver to All" in the RMB Menu. This is the behaviour described above. 2) There's also a "1-1" (one to one) mode that is used for the "Add Single Driver" in the RMB Menu. 3) Finally, there's the "N-N" mode (many to many), which isn't currently exposed. The point of this is to allow mapping XYZ to XYZ elementwise (i.e. direct copying) which is useful for things like locations, rotations, scaling, and colours. Implementation Notes: - The bulk of the driver adding logic is in editors/animation/drivers.c, where most of the Driver UI operators and tools are defined - The property eyedropper code is in interface_eyedropper.c along with all the other eyedroppers (even though they don't share much actual code in common). However, this turns out to be necessary, as we can't get access to many of the low-level buttons API's otherwise. Todo: - It may be necessary to restore a way to access the old behaviour (i.e. "manual setup") in case it is not practical to immediately pick a property. - Other things to investigate here include extra hotkeys (e.g. Ctrl-Shift-D for Add Single?), and to expose the N-N mode. - Other things we could try include interactively applying scaling factors, picking multiple targets (e.g. for location difference and rotation difference drivers), and/or other ways of using these property picking methods.
2016-03-26Drivers Workflow: Change hotkey for "Add Drivers" to Ctrl-D (it was ↵Joshua Leung
previously just DKEY) Just using DKEY for this was resulting in too many drivers being accidentally created by users drawing using Grease Pencil. This change also works better with the following workflow changes to the driver setup process.
2016-03-25Fix modal bevel OP immediately stopping when called using enter key from ↵Julian Eisel
search menu Steps to reproduce were: * Go to edit mode, select geometry * Spacebar -> search for bevel OP * Activate *using enter key* * Immediately stops when releasing enter key To fix we simply make sure the initial release event is ignored. For mouse events that wasn't an issue since activating an element is done on key release in menus. An alternative fix would be to do the same for enter key, but that's more risky. Also, checking event value is highly recommended anyway.
2016-03-25Revert "Fix T47263: numpad4/6 rotates around worl Z axis and not view Y axis."Bastien Montagne
This reverts commit fe0ca82b232dcab29030c4a20b8bd1b033d1d346. This is a design issue, needs more thinking, for now just revert back to old behavior.
2016-03-24Rework library_query foreach looper - add optional recursivity.Bastien Montagne
This commit: * Fixes bad handling of 'stop iteration' (by adding a status flag, so that we can actually stop in helper functions too, and jumping to a finalize label instead of raw return, to allow propper clean up). * Adds optional recursion into 'ID tree' - callback can also decide to exclude current id_pp from recursion. Note that this implies 'readonly', modifying IDs while recursing is not something we want to support! * Changes callback signature/expected behavior: return behavior is now handled through flags, and 'parent' ID of id_pp is also passed (since it may not always be root id anymore). Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1869
2016-03-24UI: search operator's by word prefixCampbell Barton
Would match middle of words which wasn't very useful in most cases.
2016-03-24Color sources for point density textures based on mesh verticesLukas Tönne
This patch adds support for coloring point density textures based on several mesh vertex attributes. * Vertex Color: Use a vertex color layer for coloring the point density texture * Vertex Weight: Use a weights from a vertex group as intensity values. (for Blender Render engine the additional color band is used) * Vertex Normals: Use object-space vertex normals as RGB values. The vertex color source enum is stored separately from the particle color source, to avoid invalid values when switching. Note that vertex colors are technically "corner colors" (MLoop), so each vertex can have as many colors as faces it is part of. For the purpose of point density the mloop colors are simply averaged, which is physically plausible because corners can be viewed as multiple points in the same location.
2016-03-24Fix some typos and incorrect tooltips/descriptionsJoshua Leung
2016-03-24Fix T47910: Knife project failsCampbell Barton
Regression in fix for T43896, using screen-space precision here is very problematic, using lower precision here works for both reports.
2016-03-24Cleanup: use prefix for return argsCampbell Barton