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-15WM: suppress drag events if motion is handledCampbell Barton
2018-06-15Cleanup: some more G.main removal.Bastien Montagne
We are really starting to scratch the last bits here...
2018-06-15Cleanup: validate G.main's in creator code.Bastien Montagne
Using G_MAIN here is valid!
2018-06-15Cleanup: some more G.main removal/validation...Bastien Montagne
2018-06-15Fix more Cycles CUDA errors after recent changes.Brecht Van Lommel
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-15Fix Cycles CUDA error after recent changes.Brecht Van Lommel
2018-06-15WM: 2.8 screen compatibilityCampbell Barton
Without these minor changes loading files from 2.8 will crash. Manually applied edits from 26786a2b87a08
2018-06-14Cycles: Query XYZ to/from Scene Linear conversion from OCIO instead of ↵Lukas Stockner
assuming sRGB I've limited it to just the RGB<->XYZ stuff for now, correct image handling is the next step. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D3478
2018-06-14Cycles: Connect value inputs to Strength instead of Color when inserting an ↵Lukas Stockner
Emission node Same result, but saves an additional ConvertNode.
2018-06-14Cycles: Automatically detect HDRI resolution by default and use non-square ↵Lukas Stockner
sampling map The automatic mode checks all Enviroment Texture nodes and picks the largest image's resolution. If there are no Enviroment Textures, it just uses the old default. Also, the sampling map now isn't limited to square shapes. The automatic detection uses the exact image size, the manual UI option now halves the value to get the height. A default aspect ratio of 2:1 makes sense since this is what most HDRIs use. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D3477
2018-06-14Cleanup: remove last G.main's from Collada code.Bastien Montagne
2018-06-14Cleanup: Remove last G.main's from WM code.Bastien Montagne
Was mostly validating valid usages of G.main -> G_MAIN actually.
2018-06-14Fix T55470: Add option to not fix polygons' winding to Edit Normals modifier.Bastien Montagne
this is actually adding option to add buggy behavior, but.. NPR often expects buggy behaviors, and its one of the main targets for normal editing. So think it's reasonable to add that option (disabled by default of course). Note that am not really happy with UI, but: * Not sure where to put it, it's kind of own self-contained area option. * Don't to make it too much visible, using this should be the exception!
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-13Cycles: auto insert emission node when linking color to closure.Brecht Van Lommel
This is convenient for previewing the output of a node, and we agreed to support this behavior in both Eevee and Cycles.
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-12Cleanup: BKE_scene_free should not have to worry about cleaning its usages.Bastien Montagne
This is supposed to be handled by calling code! Henceforce, no need to call BKE_sequencer_clear_scene_in_allseqs() here, and... no need for that ugly G.main case. ;)
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-12Fix T55448: Typo in Cycles CUDA debug outputLukas Stockner
Reviewers: sergey, lukasstockner97 Reviewed By: lukasstockner97 Tags: #cycles, #bf_blender Differential Revision: https://developer.blender.org/D3472
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-11Cycles: Cleanup, silence strict compiler warningSergey Sharybin
There is one legit place in the code where memcpy was used as an optimization trick. Was needed for older version of GCC, but now it should be re-evaluated and checked if it still helps to have that trick. In other places it's somewhat lazy programming to zero out all object members. That is absolutely unsafe, at the moment when less trivial class is used as a member in that object things will break. Other cases were using memcpy into an object which comes from an external library. We don't control that object, and we can not guarantee it will always be safe for such memory tricks and debugging bugs caused by such low level access is far fun. Ideally we need to use more proper C++, but needs to be done with big care, including benchmarks of each change, For now do annoying but simple cast to void*.
2018-06-11Libmv: Cleanup, make strict compiler more happySergey Sharybin
In C++ it is not really safe to memcpy objects, and newer GCC will warn about this. However, we don't use our vector for unsafe-to-memcpy objects, so just explicitly silence that warning.
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 bad level stubsSergey Sharybin
2018-06-11Cleanup: Use BLI_strncpySergey Sharybin
It has behavior which we expect, and silences strict compiler warning.
2018-06-11Fix T55278: Lightmap Pack > New Image broken when active object is NonePhilipp Oeser
thanx bblanimation (Christopher Gearhart) for spotting the issue and providing the fix! Reviewed By: brecht Differential Revision: https://developer.blender.org/D3449
2018-06-11path_util: avoid overflow w/ strtoll useCampbell Barton
Also style cleanup.
2018-06-11Fix PyConsole: Drag events finished early in modal text selectionPhilipp Oeser
2018-06-11Fix T55140: opened image doesn't show up in movie clip editorPhilipp Oeser
atoi usage in BLI_stringdec could overflow, use strtoll instead and check valid range with INT_MIN and INT_MAX Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3452
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-10WM: add macros to check mouse button/gesture/wheelCampbell Barton
Use to check click/drag, fixes issue with mouse wheel triggering pie menu.
2018-06-10Cleanup: trailing space in CMake filesCampbell Barton
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.