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-06-08glutil: add glaGetOneInt helperCampbell Barton
2016-06-07GPU: Fix for glDrawPixels drawing w/ glsl shaderCampbell Barton
The basic shader needs to be temporarily disabled in this case. Add macros for temp store/restoring the state.
2016-06-03Make playback invoked form animation editors more usableSergey Sharybin
This covers the following workflow. Animator will disable Update All 3D views in order to get quick playback in a particular 3D editor. However, it also handy to see playback in all editors and image editors to see comparison of animation and reference footage. So the idea here is to refresh reasonable editors when playback is invoked from animation editors. Commit to make Hjalti happy.
2016-05-17C99/C++11: replace deprecated finite() by isfinite().Brecht Van Lommel
2016-05-14Fix T48426: Use same length for all header message strings.Bastien Montagne
Some languages like Chinese or Japanese take three or four bytes per char... Also fixed some missing translation markers for UI header messages.
2016-05-06Clip invisible parts of image when drawing in 2D textures and GLSL ModesSergey Sharybin
This commit avoids draw of invisible parts of image in image editor, making it faster to re-draw the image. Especially handy when painting on a high-res image when zoomed-in.
2016-04-27Fix artifacts w/ low near clear in bglPolygonOffsetAlexander Romanov
2016-04-19Fix crash in rB37493fb9f - there is no guaranty CTX_wm_foo() will return a ↵Bastien Montagne
valid pointer!
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-17Fix a few compiler warnings with OS X / clang.Brecht Van Lommel
2016-03-28Graph Editor UI: Experimental Tweak - Use tabs for properties region, to ↵Joshua Leung
make it easier to navigate
2016-03-16Fix T47807: Toggle header shortcut doesn't workCampbell Barton
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-10Fix screenshot adding image extension after .blendCampbell Barton
2016-02-08GPencil: Layers with alpha = 0 should not be editableJoshua Leung
* Added a new API function to test if a GPencil layer is visible or not * Replaced all editability checks with this new "super check" * Replaced all magic number thresholds for opacity visiblity with a single define
2016-02-07Cleanup: line widthCampbell Barton
2016-02-07Added Context.editable_objects/basesJoshua Leung
This is useful when you want visible + editable objects, but you don't want to require the items to be selected as well.
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-28OpenGL: optimize ED_screen_drawMike Erwin
One draw call for all screen area outlines instead of one per line. (Two for retina displays) One draw call for area split line instead of two. En/Disable GL_BLEND once for area join arrow instead of twice.
2016-01-24More missing calls to glLineWidthCampbell Barton
2016-01-23OpenGL: call glLineWidth less oftenMike Erwin
Each LINES draw call is now responsible for its own line width. No need to set it back to its 1.0 default after every draw. This eliminates half our calls to glLineWidth , similar to last week’s work on glPointSize.
2016-01-11Report errno string when writing files failsCampbell Barton
Screenshot ignored errors, some render code printed 'Saved' without checking for failure. note: errno is now cleared from IMB_saveiff so all callers don't need to.
2016-01-08OpenGL: remove some hacks/workaroundsMike Erwin
Everything I've tested works fine without these hacks. Variety of Mac, Linux, Windows, Intel, nVidia, AMD. If these workarounds are for old unsupported systems let's clean house. Reviewers: #opengl_gfx Differential Revision: https://developer.blender.org/D1707
2016-01-08OpenGL: remove glPointSize hackMike Erwin
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
2016-01-04minor cleanupMike Erwin
2016-01-04OpenGL: image drawing tweaksMike Erwin
- no need to allocate client memory up front - delete unneeded GL calls - set default alpha test function on exit
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-08disable old Mac OpenGL workaroundMike Erwin
Comment says this is from the MacOS 10.5 era. Surely it’s been fixed by now. If nobody complains in the next few months let’s delete this.
2015-12-08OpenGL: simple cleanupMike Erwin
It’s still immediate mode, but at least it’s shorter & clearer.
2015-12-06OpenGL: rename simple shader to basic shader.Brecht Van Lommel
2015-12-06OpenGL: use simple shader for texture drawing in a few places.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-12-03Expose flush edits as an operator (for Py access)Campbell Barton
2015-11-28UI: More minor UI cleanups for keymap editorJulian Eisel
Place non-editor related keymaps together, place animation editor keymaps together, move 'Header' keymap (which had exactly 1 entry) into 'Screen' keymap, move SCREEN_OT_header (for showing/hiding header) into 'Header' keymap. Again, this shouldn't break any key configs, but key configs that contain SCREEN_OT_header will add an entry for this under 'Screen' again. Just a very minor glitch.
2015-11-28OpenGL: remove unnecessarily paranoid bound texture preservation.Brecht Van Lommel
2015-11-28OpenGL: assume GL_TEXTURE_ENV_MODE GL_MODULATE is the default state.Brecht Van Lommel
2015-11-17Fix T46764: Crash toggling region + fullscreenCampbell Barton
2015-11-17Fix crash changing screen + region overlap fadeCampbell Barton
2015-11-01Cleanup: old commentsCampbell Barton
2015-10-15Fix T46223: multiview image sequences crashing.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1549
2015-10-06WM: Fix crash when a new window can't be createdCampbell Barton
Report an error instead of crashing if a new window can't be created (typically caused by bad drivers).
2015-10-05Metadata display: support word-wrapped noteCampbell Barton
- Match layout from stamp buffer (note last so it can wrap) - Correct vertical spacing (didn't take decender into account) - Use U.pixelsize when setting font-size.
2015-10-05Cleanup: pass pointer to rctfCampbell Barton
2015-09-22Show error when unsupported movie format usedCampbell Barton
Was silently failing.
2015-09-20Cleanup: warning, styleCampbell Barton
2015-09-13Cleanup: spellingCampbell Barton
2015-09-10Correction to last commitJulian Eisel
Did a fullscreen check in a function that should only be called in fullscreen mode. Not a big deal, but bad API practice.
2015-09-10Fix T46069: Crash when saving a render with non-fullscreen file editorJulian Eisel
IMAGE_OT_save_as assumes that active area is an Image Editor and the logic that should return to image editor after saving didn't run after fullscreen was manually exited.