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-02-15Fix T54076: MCE in Graph mode - clip.graph_select_border does not work by ↵Sergey Sharybin
header menu While the script should be using INVOKE_PREVIEW for operators in clip view, window manager was lacking some switch statements. Thanks Brecht fore review!
2018-02-15Cleanup: rename BLI_thread.h APICampbell Barton
- Use BLI_threadpool_ prefix for (deprecated) thread/listbase API. - Use BLI_thread as prefix for other functions. See P614 to apply instead of manually resolving conflicts.
2018-02-09Fix (unreported) error on freeing timers which customdata pointer shall not ↵Bastien Montagne
be freed. Looks like there was no way to avoid that so far, since WM_event_add_timer_notifier can set mere int-in-pointer there, this can cause issues. So added mere flags system to wmTimer to allow controlling this.
2018-02-08Forgot to return actual value in previous own commit.Bastien Montagne
Sorry about the noise...
2018-02-08Library linking code: proper early out in case there is nothing to link.Bastien Montagne
2018-02-07Library reload code: add early out in case there is nothing to reload.Bastien Montagne
2018-01-25WM: comments on wmTooltipState structCampbell Barton
2018-01-25UI: change tool-tips to be stored in the screenCampbell Barton
Move timer and tip out of button code, now the only requests a tooltip, passing a creation callback to run. Needed for manipulators in 2.8, also helps de-duplicate logic - since we never want multiple tool-tips showing at once.
2018-01-23Cleanup: sync w/ blender2.8 branchCampbell Barton
Also make some args const
2018-01-19WM: operator flag to check repeat/redo executionCampbell Barton
2018-01-19WM: window draw callbacks and split preview snapmano-wii
This moves window overlay from hard coded flags into drawing callbacks. It also supports snapping (holding Ctrl).
2018-01-10Cleanup: comment block alignmentCampbell Barton
2018-01-10Fix T53491: Absolute tablet motion detection failsCampbell Barton
When using a tablet, detecting absolute motion only worked when activating a tool with the tablet. Pressing Enter to run a tool for e.g. would use relative motion. Now store is_motion_absolute in the event, set for new events based on the most recent motion events.
2018-01-03New API function to call an existing menuDalai Felinto
Thanks Campbell Barton for the help and review. This is for Blender 2.8, so we are not using this function yet.
2017-12-11Fix T53528: Empty thumbnails in filebrowserSergey Sharybin
Bug in recent refactor.
2017-12-04Cleanup: link/append: get rid of booleans in func parameters.Bastien Montagne
One or two are OK, but more make it rather unreadable, and future work is likely to require more toggle specific behavior here. So switched to bitflags, switching from short to int and using 16 upper bits for 'internal' ones defined in BLO_readfile.h, combined with 'public' ones from user interaction, defined in DNA_space_types.h
2017-11-27Refactor view3d offscreen drawing to avoid having multiple boolean argumentsSergey Sharybin
This is fully unreadable to have lots of boolean arguments scattered across the whole argument list. What does `false, true, true` mean in terms of behavior? Replace those with bitfield which has advantage of having more human readable meaning.
2017-11-22Fix T53274: Saving template prefs overwrites default prefsCampbell Barton
2017-11-22WM: minor correction to user-pref writingCampbell Barton
When saving templates had wrong return value.
2017-11-21Disable adding scene sequence strips into themselvesCampbell Barton
D2923 by @spockTheGray w/ edits, see T52586 for details
2017-11-19Cleanup: remove BKE_utildefinesCampbell Barton
This was meant to be used for less general macros but was never used. Rename BKE_BIT_TEST_SET to SET_FLAG_FROM_TEST
2017-11-06Rename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.Bastien Montagne
This makes code closer to id_override/assent-engine ones, which introduce a new type of linked data, and hence reserve ID_IS_LINKED_DATABLOCK to real linked datablocks.
2017-11-06Fix T53250: Crash when linking/appending a scene to a blend when another ↵Bastien Montagne
linked scene in this blend is currently open/active. Inner DAG code would not check against NULL pointer, and in case of an active linked scene, scene pointer will be NULL here, so we have to check it ourself. ;)
2017-11-05Cleanup: order buffer length after the bufferCampbell Barton
2017-11-05Cleanup: spellingCampbell Barton
2017-11-02UI: use button_operator in operator_menu_holdCampbell Barton
Move draw calls into UI_menutype_draw
2017-10-31UI: replace UI_ITEM_O_RETURN_PROPS /w return argCampbell Barton
Means we can have a version of this function that returns the button and avoids returning a struct that often isn't used.
2017-10-30Fix T53191: Python API Reference link wrong in splash screen.Bastien Montagne
Forgot to update splashscreen links when we switched API doc naming scheme...
2017-10-26Event System: check_click was left setCampbell Barton
Caused by own change 137586a13c
2017-10-21Move & rename uiLayoutOperatorButs to interface_templates.cJulian Eisel
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-10-17WM: move gesture operator callbacks into own fileCampbell Barton
`wm_operators.c` is near 5k LOC with lots of mixed functionality, extract gesture callbacks since they aren't closely related.
2017-10-17Cleanup: use 'e' prefix for enum typedefsCampbell Barton
Convention was only followed loosely, apply to DNA where changes aren't likely to conflict. (Skipped ModifierType for eg).
2017-10-17WM: immediate line-gesture activation on tweakCampbell Barton
Matches border-gesture behavior, needed for binding bisect to tweak event.
2017-10-16WM: refactor gestures for use as toolsCampbell Barton
Border and circle select wait for input by default. This commit uses bool properties on the operators instead of magic number (called "gesture_mode"). Keymaps that define 'deselect' for border/circle select begin immediately, exiting when on button release.
2017-10-16Cleanup: modal operator border callback namesCampbell Barton
Use same convention as all others. Remove 'select' since these are used for zoom as well.
2017-10-16WM: store modal operator last-propertiesCampbell Barton
Avoids modal operators needing to explicitly store them.
2017-10-16WM: Don't save mouse-paths to operator historyCampbell Barton
In preparation for modal operators storing their properties, no need to keep mouse-paths around. Also use generic function for lasso properties.
2017-10-16WM: remove hard-coded circle radius memoryCampbell Barton
Replace with operator type 'last_properties'. Also use generic function for circle gesture properties.
2017-10-16Event System: Prevent mouse motion in click eventsCampbell Barton
Don't convert mouse button events to click if they include dragging. Double-click events already checked for this.
2017-10-16Cleanup: simplify lasso reallocationCampbell Barton
Remove unneeded define, double allocations when increasing.
2017-10-16Cleanup: rename gesture mode to is_activeCampbell Barton
Wasn't obvious what this did at a glance.
2017-10-14Cleanup: use const for eventsCampbell Barton
2017-10-08Fix potential string buffer overruns.Bastien Montagne
Note that our library path handling is still rather dodgy on this regards, shall take some time at some point to seriously sanitize it...
2017-10-04Fix T42489 and T52936: Loading blend with minimized window results in crash ↵Ray Molenkamp
or empty screen on windows. Reviewed By: @brecht , @sergey Differential Revision: http://developer.blender.org/D2866
2017-10-01Fix gradient tool crash with recent changesCampbell Barton
Having gesture automatic free memory isn't practical if this has it's own allocations. Add option not to free userdata.
2017-09-27Math Lib: Add non-clamped round_* functionsCampbell Barton
Replace iroundf with round_fl_to_int, add other types
2017-09-22Remove quicktime supportAaron Carlisle
It has been deprecated since at least macOS 10.9 and fully removed in 10.12. I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens. Reviewers: mont29, dfelinto, juicyfruit, brecht Reviewed By: mont29, brecht Subscribers: Blendify, brecht Maniphest Tasks: T52807 Differential Revision: https://developer.blender.org/D2333
2017-09-18Fix T52800: fix UI flickering with Mesa on Linux.Brecht Van Lommel
Use triple buffer by default now on all platforms, remaing ones where: * Mesa: seems to have been working well for a long time now, and not using it gives issues with the latest Mesa 17.2.0. * Windows software OpenGL: no longer supported since OpenGL 2.1 requirement was introduced. * OS X with thousands of colors: this option was removed in OS X 10.6, and that's our minimum requirement.
2017-08-28Make GS macro return proper IDType typeSergey Sharybin
Previously it was returning short, which was really easy to (a) compare against non-ID type value (b) forget to handle some specific value in switch statement. Both issues happened in the nearest past, so it's time to tighten some nuts here. Most of the change related on silencing strict compiler warning now, but there is also one tricky aspect: ID_NLA is not in the IDType enum. So there is still cast to short to handle that switch. If someone has better ideas how to deal with this please go ahead :)