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
path: root/source
AgeCommit message (Collapse)Author
2016-04-21Moved function declarations for modifier stack eval into BKE_modifier_calc.h.temp_depsgraph_split_uberevalLukas Tönne
2016-04-21Avoid shadowing 'mask' function parameter by a local variable.Lukas Tönne
2016-04-21Moved code for modifier evaluation out of DerivedMesh.c.Lukas Tönne
These files contained a confusing mix of DM code (for manipulating DMs and various utility functions relating to these types), and the code for evaluating object modifier stacks. These are two very distinct areas and putting them in a single huge file doesn't promote code clarity at all. This commit only moves code, but does not alter any of it. This is important for log continuity, so history of specific functions can be clearly traced back!
2016-04-20Merge branch 'master' into temp_depsgraph_split_uberevalLukas Tönne
2016-04-20Fix T46903: Missing Render Border Menu itemsSergey Sharybin
While other borders are more like a toggle, it is an intrinsic behavior of those operators. Render Border is intrinsicly split into two operators and trying to expose it as a toggle will end up with rather confusing situation when shortcut listed in the menu changes depending on the context.
2016-04-20Fix T47891: Edges throw shadow in edit modeCampbell Barton
2016-04-20Minor optimization for scanfillCampbell Barton
Replace angle with with cosine calculation.
2016-04-20Fix image-space mask-transform crash w/o an imageCampbell Barton
2016-04-20Minor optimization for limited-dissolveCampbell Barton
Use dot product instead of angle.
2016-04-19Fix crash in rB37493fb9f - there is no guaranty CTX_wm_foo() will return a ↵Bastien Montagne
valid pointer!
2016-04-19Cleanup unused header includes from previous commit.Bastien Montagne
2016-04-19Cleanup: move operators & related code of files & append/link to relevant ↵Bastien Montagne
dedicated source files. This commit adds a new `wm_files_link.c` which contains everything related to append/link code, moved from `wm_operators.c` (rather small currently, but will expand quite a bit with future reload & asset works). It also moves all load/save .bland files (and related userpref/startup stuff) from `wm_operators.c` to `wm_files.c` (some helper funcs were already there). This also makes `wm_operators.c` significantly lighter.
2016-04-19Fix T48198: Missing plus sign to open the tool shelf in text editorJulian Eisel
Did not happen when using screen layout saved in default startup.blend
2016-04-19Toggle to standard cursor when opening menus/popupsJulian Eisel
Cursor is now set to standard arrow-cursor when opening menu, and reset to previous one when closing it. Previously it just stayed as it was before, e.g. the edit mode cross-cursor stayed active even if a menu was opened. Fixes T48192.
2016-04-19Fix T48193: Incorrect keyframe_insert docsCampbell Barton
2016-04-19Minor edits to last commitCampbell Barton
Avoid redundant tests
2016-04-19Fix T47998: Limited dissolve fails /w holesCampbell Barton
Holes with flat surfaces could have their edges dissolved causing degenerate faces. Now check that collapsing a vertices isn't creating self-overlapping faces.
2016-04-19Cleanup: pass event args as constCampbell Barton
2016-04-18Fix: Make it easier to tell if Color Swatches are greyed out or notJoshua Leung
This commit makes disabled/inactive color swatches look more obviously disabled by halving their alpha values. It is necessary because the results of ui_widget_color_disabled() (which is usually used when disabling widgets) get overwritten by the color filling code here. To avoid confusion, the checkerboard background (when the color genuinely has alpha) will still only show in those cases. That is, when disabled, color swatches won't show the checkerboard unless the color actually has an alpha component if it wasn't disabled.
2016-04-18Fix T48186: Grease Pencil Smooth brush doesn't work properly - "erase" the ↵Joshua Leung
stroke thickness As soon as you started trying to smooth a stroke, the thickness of the stroke would quickly drop right down to near zero, if "affect pressure" was enabled. This step got accidentally missed when restoring the affect pressure functionality to the stroke smoothing brush code, following cleanups from the stroke quality patch.
2016-04-17"View Frame" now works in the sequencer tooJoshua Leung
2016-04-17Fix a few compiler warnings with OS X / clang.Brecht Van Lommel
2016-04-17Fix T48171: activating spacebar search menu over text button activates it or ↵Brecht Van Lommel
shows tooltip.
2016-04-16Anim Editors: "View Frame" Operator - Code Cleanups/Reshuffling + ↵Joshua Leung
NLA/Timeline Support * Reshuffled code for existing "View Frame" implementations, and removed leftover comment from some of the the copy-and-paste used to build it. * Added support for this operator in the NLA and Timeline
2016-04-16Assorted enum tweaksJoshua Leung
* Knock out "Python" FModifier entry - It really hasn't been coded yet! * Add icon for "Match Indices" driver eyedropper mode. It should help provide a bit more of a hint of what it does, but it also doesn't look quite as nice now.
2016-04-16Experimental Drivers UI Tweak: Use icons for variable typesJoshua Leung
This commit aims to streamline the driver variables layout a bit * Each variable type now has an icon. (The loc diff and rot diff ones are placeholders, which could deserve something better/dedicated if we continue to use this) * Instead of taking up an entire row, the variable type dropdown now only shows an icon, and is located before the variable name field. Feedback wanted: Is this more/less confusing than it was?
2016-04-16Tweaks to Streamline Drivers UI - Don't use uiTemplateAnyID for properties ↵Joshua Leung
where only objects can be used
2016-04-15Curve draw fix w/ surface offset + only-first enabledCampbell Barton
In this case the initial offset needs to be applied to the rest of the stroke.
2016-04-15Fix T48157: 3D view's depth of field isn't displayed correctly with scene ↵Bastien Montagne
units scale. focus distance is given in BU, no need to scale it at all.
2016-04-15UI: copy to selected: add 'single'/'all' options to buttons' menu when relevant.Bastien Montagne
Same as reset or anim keyframe/driver operators... Inconsistency reported by Leon Cheung through IRC, thanks.
2016-04-15Code Cleanup: Fix up various odds and endsJoshua Leung
2016-04-15Code Cleanup: Remove unused define left over from earlier versions of this codeJoshua Leung
2016-04-15Remove a leftover from older codeSergey Sharybin
2016-04-15Fix T48151: Brush texture overlay won't refresh automatically in UV editor ↵Bastien Montagne
when changed in buttons window. Simple solution is to get rid of this stupid `rna_TextureSlot_brush_update` func, and do what it was doing directly in BR case of `rna_TextureSlot_update`. That way, all updates to brush texture will invalidate correctly the overlay. Note that this double definition of texture pointer for brushes looks rather fishy, am really not convinced this helps keeping things simple and clear at all (what happened here is that texture selector in image paint editor was using 'texture' member of brush itself, which was performing correct RNA update, while context-based brush texture selector from buttons space was using 'texture' member of the TextureSlot struct, which had default texture update callback which was not invalidating overlay).
2016-04-15New freehand curve drawing toolCampbell Barton
- Access with Shift-LMB or from the 'Create' toolbar tab. - Uses curve fitting for bezier curves, with error and corner angle options. - Optional tablet pressure to curve radius mapping. - Depth can use the cursor or optionally draw onto the surface, for the entire stroke or using the stroke start. - Stroke plane can optionally be perpendicular to, or aligned to the surface normal. - Optional radius tapering and for start/end points. - Supports operator redo and calling from Python.
2016-04-15Cycles: Support heat volume attributeSergey Sharybin
Similar to velocity, it was kind of supported by the mesh manager but was missing a code in BlenderSession to get actual values. In Cycles Heat is an attribute which goes from -1 to 1, where -1 is the coldest ever temperature, 1 is the hottest ever one.
2016-04-15Drivers Editing: Added "Copy/Paste" buttons beside "Add Variable" for ↵Joshua Leung
copying all variables from one driver to another This was a feature request from a few years back (IIRC from ZanQdo?) to make it easier to reuse one set of driver variables across several different drivers. Dev Notes: * Finally it's done! All that trouble for two little buttons. * Grr... cmake... grrr!
2016-04-15NLA Copy/Paste Modifiers: Apply similar fixes as those done in Graph EditorJoshua Leung
2016-04-15Fix T42148: Copying/Pasting FModifiers copies to all selected FCurves, not ↵Joshua Leung
just active one
2016-04-15FModifiers: Various tweaks for consistency + improved behaviourJoshua Leung
* Use an RNA enum callback for NLA FModifier types too * Cleaned up tooltips for these operators in Graph and NLA editors * Fix update notifiers after adding FModifiers in the Graph Editor
2016-04-15FModifiers: "Add Modifiers" in Graph/NLA Editor buttons now uses a dropdown ↵Joshua Leung
instead of a button This brings the UI here more in line with the Constraints and Modifiers UI's. TODO: * The tooltips/descriptions on the operators now need fixing, as we can no longer use custom tooltips when defining these buttons. * The operators need to be fixed to only operate on the active data
2016-04-15Code Cleanup: Add proper defines (with ANIM_* prefix) for animation-related ↵Joshua Leung
copy-paste buffer free callbacks
2016-04-15Graph Editor: Move "View" panel to be the lastJoshua Leung
This change means that when going from having no FCurves active to having an active FCurve, the properties panels will not get stuck with only showing the "View" tab, which is not that useful a lot of the time.
2016-04-14Compositor: Fix image and render layer always extending edgesSergey Sharybin
It was no more possible to translate two images, put one on top of another in order to do things like mapping VR views.
2016-04-14Remove redundant abs ray/line point functionsCampbell Barton
2016-04-14Math Lib: ray_point_factor_v3 functionsCampbell Barton
Gives a bit better precision than creating a line in some cases, use for ED_view3d_win_to_3d.
2016-04-12Fix T47754: Meshes glitch on cycling Viewport Shading mode with Linked GroupsSergey Sharybin
This is a regression since 4310128 which is cased by really bad logic: there might be dependencies between dupli-objects, which means _if_ we really want to ensure derived mesh on dupli creation we have to do it before any matrix is overwritten. I'm not sure if such derived mesh trick is really the only way to go without major refactor, but seems simple fix for now will do it.
2016-04-12Missed last commitCampbell Barton
2016-04-12Fix T47443: Circle & UV Sphere aren't alignedCampbell Barton
D1912 by @samb96 Change the starting point of the UV sphere so that it is aligned with the circle, cylinder, and cone primitives.
2016-04-12Cleanup: use boolCampbell Barton