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-08Wide lines + line stipple deprecated API replacementAlexander Romanov
The patch contains an implementation of the wide lines and the line stipple that is necessary for OpenGL upgrade. For the implementation I have chosen the geometry shader because it required minimum changes for the wrapper calls and such implementation is the best for the "basic shader" architecture. There are few shortcomings that can be corrected in future. They all are related to the fact that the lines in one strip are not connected with each other. So the stipple pattern is not continuous on the common vertex of two lines. There is also no continuity of form (each line is an independent rectangular). But the advantage is that even outdated glBegin, glVertex work! Though with the above restrictions. Continuity of form and stipple can be implemented with additional attributes, and it will require more changes in calls. At the moment, the patch replaces calls for some "gestures". It works satisfactorily for "cross" or "rectangular" and not so good for "lasso" and "circle" due to the above-mentioned shortcomings. Don't forget to set USE_GLSL to true for testing. Alexander Romanov (Blend4Web Team) Reviewers: merwin, brecht Reviewed By: merwin, brecht Subscribers: aligorith, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D1880
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-24Make IDPreview handling code use new recursive libquery looper.Bastien Montagne
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-23Radial Operator: Tweak number of digits displayed for the different property ↵Joshua Leung
types * As requested by venomgfx, rotations now only display to 2 decimal places (more than enough for rotations in degrees) * Also, made it so that the "factor" types now show 3 dp (previously only 2, which isn't really enough when dealing with values from 0.0 - 1.0)
2016-03-23Radial Control Operator: Always show the property name + value on the headerJoshua Leung
The radial control operator is commonly used for setting sculpt brush Size and Strength settings. However, when using it, it can often be difficult to remember which hotkey is responsible for which setting, meaning that you can often accidentally modify the wrong setting without knowing it (or even what new value you've set it to). This commit makes it so that the property name and the current value are always shown on the header. Previously this info was only shown when the doing numeric input. (It also fixes a bug where the numeric input print would hang around even after it wasn't being used).
2016-03-04Revert "Fix changing virtual pixelsize having no affect if only main window ↵Campbell Barton
is open" This reverts commit fe7bab13439fe6f0181f6661fbf7bb7ae18f5310. Setting correct context is important, but this is setting DPI and widget unit on *every* mouse move.
2016-03-04Fix changing virtual pixelsize having no affect if only main window is openJulian Eisel
Changing virtual pixelsize only had an affect when a second window was open. (Was also possible to trigger update by opening another window.) Steps to reproduce: * Change any editor into user preferences *in main window* * Change virtual pixel size -> nothing happens
2016-03-02UI: Show categories in operator search popupCampbell Barton
Gives better context especially when operators have generic names.
2016-03-02UI: Add search-create callbackCampbell Barton
Needed to support alternate search UI's, no functional changes.
2016-03-01Fix (unreported) crash when opening a file from splash screen when 'load UI' ↵Bastien Montagne
option is disabled. See rB935e241fa6ea095493 for details of the issue, but first fix caused regression T47632. So for now handling the issue in a localized way, this is not a real solution (since this could happen in other cases), but will do for 2.77. This commit is to be backported to 2.77.
2016-02-29Fix a bunch of temp full-screen glitchesJulian Eisel
Steps to reproduce fixed glitches were: * Change any editor to be file browser from menu, Ctrl+O *from the file browser area*, Esc -> area reset to what it was before changing to file browser initially * Ctrl+O from any area, F12, Esc -> returns to initial editor in full-screen (expected is file browser in full-screen) Fixes T46229 Core of the fix is removing old area from spacedata list when going back to previous area (see ED_area_prevspace -> BKE_spacedata_remove). Also, when creating a new temp area we now don't exit old area anymore (needed so SpaceFile->op is kept, but it also makes sense in general) Aaand finally removes some ugly hacks. Tested quite a bit, so I think it's safe to apply (besides of remark below), just would like to get things double checked and confirmed. After all, this full-screen stuff finally starts to feel like it's working :P Note, there's still a memory leak when quitting Blender with temp area open. Haven't found out how to solve yet, but it's not that important for review anyway. Reviewers: campbellbarton, brecht Reviewed By: brecht Subscribers: plyczkowski, Blendify Maniphest Tasks: T46229 Differential Revision: https://developer.blender.org/D1531
2016-02-29Cleanup: Duplicated functionJulian Eisel
wmOrtho2_region_pixelspace and wmOrtho2_region_ui were doing exact same thing since rBSa86482f81cf3.
2016-02-21Correct incomplete doxgen file paths in WMJulian Eisel
2016-02-15Cleanup: reorganize BKE ID tagging functions.Bastien Montagne
BKE_main_id_tag_/BKE_main_id_flag_ were horrible naming now that we split those into flags (for presistent one) and tags (for runtime ones). Got rid of previous 'tag_' functions behavior (those who were dedicated shortcuts to set/clear LIB_TAG_DOIT), so now '_tag_' functions affect tags, and '_flag_' functions affect flags.
2016-02-12Integrate font objects copy/paste with system clipboardDalai Felinto
When pasting text, the style (bold, material, ...) is maintained, if it was originally copied from Blender. This fixes the issue of missing copy/paste options for font objects (they were present back in Blender 2.49) Reviewers: Severin, campbellbarton, brecht
2016-02-09Fix T47339: Unified color not used w/ radial controlCampbell Barton
2016-02-08Fix T47354: Garbage key events (UNKOWNKEY) would remain in backup event's ↵Bastien Montagne
keymodifier. For some reason, using 'dead keys' to compose some accentuated latin chars will generate some 'unknown' key events, and in this case, direct `event.keymodifier` was correctly cleared, but not its 'backup' version in `win->eventstate`, so all further events would get an invalid modifier until some real one would be pressed again...
2016-02-07Fix T47342: hang with freestyle viewport render and animation playback.Brecht Van Lommel
Not sure why I made the logic so complicated before, this change should solve the deadlock when the render thread tries to acquire the main thread lock while the main thread is waiting for threads to finish.
2016-02-07Cleanup: line widthCampbell Barton
2016-02-06Fix T47204: selection failing directly after disabling multisample in user ↵Brecht Van Lommel
prefs. Now store the multisample setting each window was created with.
2016-02-02UI: update dynamic tipsCampbell Barton
Useful for progress ETA to continuously update. This adds API option not to activate new regions GL state which isn't needed in many cases.
2016-01-29Skip save-as history running from another OperatorCampbell Barton
So scripts can call Save-As without adjusting 'Recent Files'. Uses same logic and file reading,
2016-01-29Cleanup: remove unused codeCampbell Barton
2016-01-28WM: allow filesel to execute a modal operatorCampbell Barton
2016-01-27WM: Support showing reports for modal operatorsCampbell Barton
This isn't common use, but modal operators may make reports while they're running. Now they're displayed in the info header.
2016-01-25Fix various potential bugs from coverity reports (NULL dereference, negative ↵Bastien Montagne
number assigned to uint...). Note: the wm_jobs needs proper fix, we cannot have that kind of inconsistencies in some 'public' API!
2016-01-24Docs: minor edits to code commentsCampbell Barton
2016-01-21Cleanup: line length, indentationCampbell Barton
2016-01-18UI: use a callback for the progress tooltipCampbell Barton
Avoids constructing tip text and storing it when its not used. Also quiet divide by zero warning when no progress was made.
2016-01-18UI: redesign of the progress bar.Kévin Dietrich
A picture is worth a thousand words: http://wiki.blender.org/index.php/ File:UI_progress_bar.png Reviewers: #user_interface, brecht, dingto Reviewed by: brecht, dingto Differential Revision: https://developer.blender.org/D1727
2016-01-17Cleanup: styleCampbell Barton
2016-01-17Dynamic Paint: use job system for the image sequence bake operator.Kévin Dietrich
Reviewers: brecht Differential Revision: https://developer.blender.org/D1732
2016-01-17Point Cache: use job system for bake operators.Kévin Dietrich
Reviewers: brecht Differential Revision: https://developer.blender.org/D1731
2016-01-17Fix memory leak in (the still unused) WM_reportf.Brecht Van Lommel
2016-01-17WM: remove unnecessary context argument from WM_report, no good reason to ↵Brecht Van Lommel
have it.
2016-01-11WM: show file selector errors in headerCampbell Barton
Was too easy to miss errors from the file selector, now show in the info header.
2016-01-08Math Lib: use x-span for fill_poly_v2i_n callbackCampbell Barton
Instead of running the callback per-pixel, pass the x-span to the callback.
2016-01-08Fix T46993: UI lag in fullscreen mode on OS X / Intel graphics.Brecht Van Lommel
If anyone finds OS X UI drawing glitches with different graphics cards please report them and I'll add an exception specifically for Intel, but in theory this should work fine for all graphics cards.
2016-01-04added new "Fake User" option for appending objects, this sets a fake user on ↵Martin Felke
each newly appended item except Groups and Objects.
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-12-31Cleanup: Py API namingCampbell Barton
Use BPY_execute_* prefix for all Python execution commands
2015-12-27Fix T47064: Change Audio defaults to 48 kHzJörg Müller
Historically blender had an audio sample rate of 44.1 kHz as default which is mostly popular because it's the sample rate of audio CDs. Audaspace kept using this default from the pre 2.5 era. It was about time to change to 48 kHz, which is a more widespread standard nowadays, especially in video. It is the recommended sampling rate of the Audio Engineering Society. Further reading: https://en.wikipedia.org/wiki/44,100_Hz#Status
2015-12-27Split id->flag in two, persistent flags and runtime tags.Bastien Montagne
This is purely internal sanitizing/cleanup, no change in behavior is expected at all. This change was also needed because we were getting short on ID flags, and future enhancement of 'user_one' ID behavior requires two new ones. id->flag remains for persistent data (fakeuser only, so far!), this also allows us 100% backward & forward compatibility. New id->tag is used for most flags. Though written in .blend files, its content is cleared at read time. Note that .blend file version was bumped, so that we can clear runtimeflags from old .blends, important in case we add new persistent flags in future. Also, behavior of tags (either status ones, or whether they need to be cleared before/after use) has been added as comments to their declaration. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1683
2015-12-27WM: add checker_interval utility functionsCampbell Barton
2015-12-27Move generic operator props into own fileCampbell Barton
This is unrelated to core operator internals, so move into own file.
2015-12-27OpenGL: stipple support added to basic GLSL shaderAlexander Romanov
The is intended to replace the deprecated glPolygonStipple() calls with a shader based alternative, once we switch over to GLSL shaders. Reviewers: brecht Differential Revision: https://developer.blender.org/D1688
2015-12-13Grease Pencil: Merge GPencil_Editing_Stage3 branch into masterJoshua Leung
This commit merges all the work done in the GPencil_Editing_Stage3 branch as of ef2aecf2db981b5344e0d14e7f074f1742b0b2f7 into master. For more details about the changes that this brings, see the WIP release notes: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.77/GPencil
2015-12-08OpenGL: remove non-power-of-two texture check, where even ES 2.0 does not ↵Brecht Van Lommel
need it.
2015-12-08OpenGL: use sized texture internal formatsMike Erwin
Maybe this is pedantic but I read it’s best to explicitly set the desired component size. Also append “_ARB” to float texture formats since those need an extension in GL 2.1.