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
2018-06-18Fix T55503: File browser filter not working correctly.Bastien Montagne
There were two issues here, introduced by rB66aa4af836: * Forgot to change length of some filter_glob var deep in filebrowser code. * Truncating filter_glob in general can be dangerous, generating unexpected patterns. Last point was the root of the issue here, truncating to 63 chars string left last group as 'match everything' `*` pattern. To fix that to some extent, added a new BLI_path_extension_glob_validate helper to BLI_path_util, which ensures we do not have last wildcards-only group in our pattern, when there are more than one group.
2018-06-17Python: Allow untrusted py-drivers to run limited expressionsCampbell Barton
Limit to a restricted set of built-ins, as well as the math module. Also restrict of op-codes, disallowing imports and attribute access. This allows most math expressions to run without any performance cost once the initial check is done. See: D1862 for details.
2018-06-17Cleanup: BLI path extension APICampbell Barton
Use BLI_path_extension_* prefix.
2018-06-17CMake: add missing headersCampbell Barton
2018-06-17Cleanup: use clamp_* from BLI_math (replace macro)Campbell Barton
2018-06-16UI: refactor drag-toggle for other button typesCampbell Barton
2018-06-16UI: minor changes from 2.8Campbell Barton
- Option to skip multi-data edits. - Open hold buttons on drag. - Utility function to set default value.
2018-06-15Cycles: change Ambient Occlusion shader to output colors.Lukas Stockner
This means the shader can now be used for procedural texturing. New settings on the node are Samples, Inside, Local Only and Distance. Original patch by Lukas with further changes by Brecht. Differential Revision: https://developer.blender.org/D3479
2018-06-15Cleanup: some more G.main removal/validation...Bastien Montagne
2018-06-15Fix T55490, intersect two triangles fails.Howard Trickey
Need to use the 'use_partial_connect' option in island connect, so changed signatures of various functions to pass that into and then down from BM_mesh_intersect (making true for intersect, false for boolean). Then fix bm_face_split_edgenet_partial_connect to work when input edges are not necessarily wire, but at least not in the face they are being connected in. That caused generalization of core BM_vert_separate_hflag_wire (which is only used in this one place in all Blender).
2018-06-15Fix (unreported) Text Editor: scrollbar exiting earlyPhilipp Oeser
caused by recent clickdrag changes
2018-06-13Fix undo group to use human readable name, since this shows in the UI.Brecht Van Lommel
2018-06-13Fix undo of transform after frame change undoing too much.Brecht Van Lommel
For grouped undo we should not skip the undo push, rather replace the previous undo push. This way undo goes back to the state after the last operation in the group.
2018-06-13WM: check release event for particle edit modeCampbell Barton
Caused by drag event.
2018-06-13Cleanup: get rid of last G.main in BMesh code.Bastien Montagne
2018-06-13Cleanup: moar ugly G.main removal...Bastien Montagne
Note that due to RNA get/setters issue, that one may actually add some G.main usages to the total... But at least it's not hidden anymore in a very low-level, dark corner of BKE pointcache code!
2018-06-13Fix T55467: nodes cant be resized after recent clickdrag changePhilipp Oeser
2018-06-13Cleanup: swapped X/Y UI_UNITCampbell Barton
2018-06-13Cleanup: remove more G.main from BKE area.Bastien Montagne
2018-06-12Cleanup: moar G.main removal from BKE area.Bastien Montagne
2018-06-12WM: remove sloppy region type accessCampbell Barton
Avoid accidentally operating on the wrong region type.
2018-06-12WM: rename BKE_regiontype_from_idCampbell Barton
This returns the first as a fallback, causing confusing usage. Renamed and added a version of the function that doesn't.
2018-06-12Fix T55452: Crash on saving with visible particle system.Bastien Montagne
Missing Main pointer in recent refactor/cleanup of G.main usages...
2018-06-12Cleanup: moar removal of G.main in BKE area...Bastien Montagne
2018-06-12Cleanup/simplify G.main usages.Bastien Montagne
Using G.main only to get main bled filepath, or built-in fonts, is OK. So now using the 'valid' G_MAIN macro here instead.
2018-06-12Cleanup: remove moar G.main from BKE area.Bastien Montagne
2018-06-12Cleanup: remove some G.main from ED's animsys.Bastien Montagne
The easy ones - there some much, much trickier to tackle there...
2018-06-12Cleanup: remove some G.main from BKE area.Bastien Montagne
2018-06-11Cleanup: remove moar ugly G.main usages...Bastien Montagne
BKE_image was an ugly nest, could fix all but the ones from compositor, so moved ugly G.main there, at least we know where the Evil is that way ;)
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-11Cleanup: remove some G.main usages...Bastien Montagne
2018-06-11Fix PyConsole: Drag events finished early in modal text selectionPhilipp Oeser
2018-06-11Fix T55349: crash adding paint slot when object is on hidden layerPhilipp Oeser
use better poll and get ob with 'ED_object_active_context' (instead of 'CTX_data_active_object') Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3467
2018-06-09RNA: remove Layout.introspectCampbell Barton
This was added as an experiment to extract information for docs but this was never all that useful for its intended purpose.
2018-06-09Cleanup: remove some G.main usages.Bastien Montagne
2018-06-08WM: fix panel drag event handlingCampbell Barton
2018-06-08WM: fix node link & background dragCampbell Barton
2018-06-08Cleanup: getting rid of G.main.Bastien Montagne
Sometimes one needs a *lot* of changes for a single G.main... :/
2018-06-08Fix regression in grease pencil drawingCampbell Barton
Drag events finished drawing early.
2018-06-08Fix T55301: Transform confirm on release fails w/ MMBCampbell Barton
2018-06-08Fix recently added drag events closing menusCampbell Barton
2018-06-07Cleanup: typo, and 0 -> false for booleans.Bastien Montagne
2018-06-07WM: add support for drag eventsCampbell Barton
This allows for a single key to be mapped to both release and drag, useful for pie menus to share a key with a different action.
2018-06-07WM: check for release instead of not pressedCampbell Barton
Makes reasoning about events more predictable.
2018-06-07Fix crash due to missing init of new bAnimContext bmain member in transform ↵Bastien Montagne
code. From own previous G.main-busting commit.
2018-06-07Cleanup: remove moar G.main usages.Bastien Montagne
Notes: * Really need to address RNA setters case, end up adding way too much G.main here these days... :/ * Added Main pointer into bAnimContext, helps a lot in anim code ;)
2018-06-07Cleanup: Nuke moar G.main usages...Bastien Montagne
2018-06-05Cleanup: use new accessors to blendfile path (Main.name).Bastien Montagne
2018-06-04Fix T55260: load Text File with Python from GUI Button results in 0 UserBastien Montagne
Let's just always ensure user_one when loading text from operator...
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton