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
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-19Docs: doxygen file descriptions for BLF, GPU and WMCampbell Barton
2014-01-15Python/Depsgraph: bpy.data.*.is_updated now detects add/remove of any datablock.Tom Edwards
Previously this only worked for some datablocks relevant to rendering, now it can be used to detect if any type of datablock was added or removed (but not yet to detect if it was modified, we need many more depsgraph tags for that). Most of the changes are some function parameter changes, the important parts are the DAG_id_type_tag calls. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D195
2014-01-13Fix some harmless warnings that mostly appeared on MinGW64Antony Riakiotakis
2014-01-08Code Cleanup: de-duplicate text pasting which only used the first lineCampbell Barton
2013-12-05User Interface: Ctrl+C over a menu copies the py commandCampbell Barton
also use bools rather then ints
2013-11-05OSX: complety remove the cocoa options, definitions and conditionals nowJens Verwiebe
2013-10-06Revert revision 59985, 59986, 60046 and 60067. These were fixes to improve saveBrecht Van Lommel
and restore of window setups with multiple monitors, but they are also causing regressions, in particular issues with Blender overlapping the taskbar and the user preferences opening wrong. We decided to revert to the old behavior for the release. See bug #36707 for the full explanation.
2013-10-01Fix #36852: duplicate window crash on OS X, another case where it could crashBrecht Van Lommel
when changing the window state raises an event, and the window isn't fully initialized yet.
2013-09-10Change window checks to desktop size instead of screen size.Nathan Letwory
This allows to open windows stretched over monitors. Saving stretched layouts open correctly as well. Renamed screensize_all to desktopsize to better convey meaning.
2013-09-09Fix #36593: crash duplicating window on OS X in some situations. User dataBrecht Van Lommel
should be set before GHOST_SetWindowState, since this may generate an event.
2013-07-30BGE: Adding vsync control. Users can enable vsync, disable vsync, or use ↵Mitchell Stokes
adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost.
2013-07-29add api call for initializing events from the windows eventstate.Campbell Barton
2013-06-06style cleanupCampbell Barton
2013-06-04Fix #35624: rendering to a new window, then switching scene in the main window,Brecht Van Lommel
would still continue to render the previous scene in the render window on F12.
2013-06-01Bug fix, own collection while testingTon Roosendaal
New OSX "Life resize" was also being called during opening of windows - when things are not initialized yet. Crashed on opening full-screen window (which is animated in OSX).
2013-05-26Live resize on Windows. Based on Ton's patch for mac.Alexander Kuznetsov
Removing old resize stuff. Windows has resize lag, which creates black gap with openGL. Still looking to fix it.
2013-05-25Solving ancient Blender window sizing issue;Ton Roosendaal
- Removed grid-snapping for area coordinates on scaling windows. That caused the areas to shrink or expand, and eventually corrupt screen layouts. - Added simple but efficient life resize for OSX. I need to know why this is so much code for Windows... I suggest Windows to just copy same method; dispatch the queue, and just let the event system draw.
2013-04-18Fix #34997: when starting the game engine in one window and switching to a ↵Brecht Van Lommel
second window, the game would stop drawing in the first and mess up the OpenGL state of the second. Also fixes glPushAttrib/glPopAttrib getting out of sync in some cases.
2013-04-04code cleanup: use bools in UI and WM code, quiet some shadow warnings, ↵Campbell Barton
remove unused function uiEmboss()
2013-03-12change defaults for window state on X11 (yet again), after further discussion.Campbell Barton
instead use a fixed size as a default, clamp by the desktop size and add some padding (to account for title bar and panel).
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-03-07use bool for rna funcs.Campbell Barton
2013-02-15revert own commit r54450, this works on X11 but not in Windows and caused ↵Campbell Barton
bug [#34255] (which may be a bug in windows ghost?, not getting key release for modifiers). Cross platform modifier keys on activating window better be handled at ghost level anyway.
2013-02-11fix for modifier keys held before a window was activated being ignored.Campbell Barton
2013-02-07start blender maximized on X11 - finding screen limits taking window ↵Campbell Barton
borders, title bar, panels & multi-monitor is quite involved - without this size if often wrong. For sizes outside the screen bounds many window managers will ignore the requested size. Also opening maximized was default with 2.49.
2013-01-31Add Xinerama support for GHOST_GetMainDisplayDimensions() so X11 works as it ↵Campbell Barton
should (previously would include all monitors). Now the active monitor size is used on startup. Currently the cursor position is checked for intersection with the monitor bounds to find the active screen.
2013-01-31add ghost function getAllDisplayDimensions, GHOST_GetAllDisplayDimensionsCampbell Barton
This returns the desktop size, not just the size of the active monitor, useful since this constrains the mouse and we dont have to detect the active monitor (which isn't so straightforward with xlib). carbon/cocoa are TODO, they still use getMainDisplayDimensions().
2013-01-31start window non-maximized since this is more the `default` state for ↵Campbell Barton
windows. (linux/win only)
2013-01-31fix/workaround [#34026] Blender starts with too large windowCampbell Barton
Minimal change to stop blender window opening across all monitors. Workaround the problem by starting maximized, and using sane defaults for non maximized window. I checked on a few different solutions to this, Using Xinerama works OK, but with different size monitors and not knowing which one the window-manager will pick in advance - this can be wrong too. Now instead of opening with the screen size, just start maximized and use a default size for the non-maximized window (clamped by the screen size). This isn't perfect since you could have 2x monitors at 1024x768, open blender, un-maximize - and blender window would cross over into the second monitor.
2013-01-22fix [#33836] issuing bpy.ops.render.render() in console crashes the programCampbell Barton
don't check the event queue from threads, assert if this happens in future.
2013-01-16draw the brush size with pressure applied (when the tablet is used), nice to ↵Campbell Barton
see the actual size used.
2013-01-12Mac HiDPI ("retina") handling:Ton Roosendaal
OK - so you have this nice crisp screen, and still you want to add extra monitors to the laptop! That means Blender should switch back and forth to HiDPI modes, when you move a window to another monitor. This code makes the pixelsize scale factor a window property, and handles an event when a window moves to another monitor. It then changes the native pixelsize nicely and refreshes entire UI. You can also have one Blender window on high, and other on low resolution. Stretching a Blender window from 1 monitor to the other works too, but that is Apple magic handling it.
2013-01-08Bugfix #33803Ton Roosendaal
(2.65a and older) Case: ALT+CTRL+U (user prefs) made mousewheel change button values in inactive window. On opening 2nd window, or de-activating a window, the modifier state was kept for that window. That meant that mouse-over in a window was using the old modifier - for example for scrollwheel it would change values in buttons.
2012-12-26Region scrollbar fix!Ton Roosendaal
Now scrollbars correctly hide and show, making space for the actual contents in a region. It solves several old hacks, and puts view2d code a bit more back in control as well. Implementation notes: - The view2d mask feature is working again - The #define V2D_SCROLL_HORIZONTAL_HIDE means: "turn on hiding". - Code for UI_view2d_region_reinit() is enforcing better standard view settings But... two hack/patches needed to be added: - Region panel drawing: if after generating the button panels it appears a scroller hides or reveils, it calls all the generating code again. (a simple scale doesn't work due to rounding differences in layout code) - View2d code that maps 'tot' and 'cur' rects: if this code detects that the mask changes, it calcs the map code again. Also a bugfix (issue in 2.65) - The left/bottom area split widget was drawing 1 pixel too large sometimes, leaving bad trails on moving area dividers.
2012-12-13Bugfix - own collection.Ton Roosendaal
Very occasionally Timer Events could still get handled, after stopping a timer - especially with the timer event still in the queue. This patch disables such events. Introduced a EVENT_NONE to make sure it gets ignored everywhere.
2012-12-13region overlap feature missed view3d grid-scale text, increase string size ↵Campbell Barton
for title text too.
2012-12-13style cleanup: changes from recent commitsCampbell Barton
2012-12-13Disable a bugfix I did - to prevent event timers to be used still.Ton Roosendaal
Code looks sane, but somehow it frustrates the panel animation timer, causing freezes now. Work for tomorrow.
2012-12-12Holiday coding log :)Ton Roosendaal
Nice formatted version (pictures soon): http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability Short list of main changes: - Transparent region option (over main region), added code to blend in/out such panels. - Min size window now 640 x 480 - Fixed DPI for ui - lots of cleanup and changes everywhere. Icon image need correct size still, layer-in-use icon needs remake. - Macbook retina support, use command line --no-native-pixels to disable it - Timeline Marker label was drawing wrong - Trackpad and magic mouse: supports zoom (hold ctrl) - Fix for splash position: removed ghost function and made window size update after creation immediate - Fast undo buffer save now adds UI as well. Could be checked for regular file save even... Quit.blend and temp file saving use this now. - Dixed filename in window on reading quit.blend or temp saves, and they now add a warning in window title: "(Recovered)" - New Userpref option "Keep Session" - this always saves quit.blend, and loads on start. This allows keeping UI and data without actual saves, until you actually save. When you load startup.blend and quit, it recognises the quit.blend as a startup (no file name in header) - Added 3D view copy/paste buffers (selected objects). Shortcuts ctrl-c, ctrl-v (OSX, cmd-c, cmd-v). Coded partial file saving for it. Could be used for other purposes. Todo: use OS clipboards. - User preferences (themes, keymaps, user settings) now can be saved as a separate file. Old option is called "Save Startup File" the new one "Save User Settings". To visualise this difference, the 'save startup file' button has been removed from user preferences window. That option is available as CTRL+U and in File menu still. - OSX: fixed bug that stopped giving mouse events outside window. This also fixes "Continuous Grab" for OSX. (error since 2009)
2012-11-18style cleanup: comments & spellingCampbell Barton
2012-11-12style cleanupCampbell Barton
2012-11-11Four fixes (own collection)Ton Roosendaal
- Screencast: stops working on window resize - crashes movie file output - Screencast now draws simple brush overlay to indicate mouse cursor. - Greasepencil now works again to use MMB for view rotates (and missed proper redraw signal for toolbar, at end of paint)
2012-11-11MultiSample feature: added provision that requires a restart in order to getTon Roosendaal
it work properly - you cannot set/disable it in a running program with windows open. In short: Multisample setting is static, set on first time running of Blender, after reading the user preferences. For as far as I can see - disabling/enableing (glEnable) doesn't harm to be used in drawing code. With multisample on at start, you can enable and disable it freely. But without it set at start, enabling doesn't do anything nor draws badly.
2012-11-11code cleanup:Campbell Barton
- blf doesnt have includes for TRUE/FALSE, use 1/0. - rename ogl_multisamples -> multi_sample, also shorten enum strings.
2012-11-10Added UI support to set OpenGL MultiSample.Ton Roosendaal
Code to support it was lying around for long already, but not controlled by UI nicely. Now you have in user preferences "System" tab an option to set it. NOTE: - it only works saving as User startup.blend, and restart Blender. - your system should support it, no check for it is visible in UI - tested only on iMac OSX 10.7 Screenshot: http://www.blender.org/bf/chinchilla.blend.png
2012-11-01Bugfix #33038Ton Roosendaal
TIMER events could get keymodifier set - in this case the user assigned spacebar modifier for setting views (running smoothview timer) Also: cleaned op old hacks from event checking code. The rule should be: 1) generate event properly, frozen state 2) pass on to handlers without exceptions or changing internal state The only exception currently is for the "CLICK" (map key-release to unhandled key-press). Also: made --debug-event print OK. Slight cleanup in eventprinting in general. It was putting the wmEvent state print in wrong place, doing it 4 or 8 times.
2012-10-26fix [#30087] operator_context is different for popup and submenu's *TODO, ↵Campbell Barton
after 2.62* having context different for menu vs submenu is quite confusing, now they are both: WM_OP_INVOKE_REGION_WIN this changes WM_menu_invoke behavior.
2012-10-24add section on how to run scripts in blender for the API intro, found there ↵Campbell Barton
were no simple docs like this in the wiki. also set the window type to normal on start when -p argument is given, since the view could be maximized/fullscreen.
2012-10-24fix for maximized startup blend preventing -p command line argument from ↵Campbell Barton
working.