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
2015-04-07Revert Sticky Keys (and everything related to that)Julian Eisel
Our current keymap doesn't give us enough room to make such changes in the event system. To fix small issues caused by this, we would need to do drastic changes in Blender's keymaps and internal handling. It was worth a try, but it didn't work. I can write down a more descriptive statement in a few days, but for now I need a break of this stuff.
2015-04-03Sticky Keys backendJulian Eisel
Design task: T42339 Differential Revision: D840 Initial implementation proposal: T41867 Short description: With this we can distinguish between holding and tabbing a key. Useful is this if we want to assign to operators to a single shortcut. If two operators are assigned to one shortcut, we call this a sticky key. More info is accessible through the design task and the diff. A few people that were involved with this: * Sean Olson for stressing me with this burden ;) - It is his enthusiasm that pushed me forward to get this done * Campbell and Antony for the code and design review * Ton for the design review * All the other people that gave feedback on the patch and helped to make this possible A big "Thank You" for you all!
2015-02-25Warning messagebox for windows when an unsupported implementation ofAntony Riakiotakis
OpenGL is detected: Hoping to decrease the frequency of by far one of the most frequent bug reports by windows users. There is some reorganization of the GHOST API to allow easy addition of further OpenGL options in the future. The change is not propagated too deep to keep the size of the patch managable. We might reorganize things here later. For OpenGL we do two checks here: One is a combination of GDI generic renderer or vendor microsoft corporation and OpenGL version 1.1. This means the system does not use GPU acceleration at all. We warn user to install a graphics driver and of cases where this might happen (remote connection, using blender through virtual machine) The other one just checks if OpenGL version is less than 1.4 (we can easily change that in the future of course) and warns that it is deprecated. Both cases will still let blender startup correctly but users should now have a clear idea of the system being unsupported. A user preference flag is provided to turn the warning off. Now stop posting those bug reports without installing a driver first - please?
2015-01-31WM: empty menu so addons can extend the splashCampbell Barton
2014-12-08Cleanup: Minor edits to widget emboss codejulianeisel
* Rename "emboss" to "widget_emboss" * Remove duplicated UI_GetThemeColor4ubv function I made sure version bump and Save User Settings are working correctly ;P
2014-11-14UI: Rename Addons -> Add-onsCampbell Barton
D812 by @thefallenweeble internally variable names & paths remain the same, this is for labels & tips only.
2014-10-27Add Theme Option for UI EmbossJonathan Williamson
This adds a theme option for the embossing of UI widgets. By doing this users have much greater flexibility for creating nice themes. Previously many themes (particularly dark ones) looked quite bad due to the very obvious emboss. This made simpler, flat-style themes very challenging. Closes T42228 Reviewed by @campbellbarton
2014-10-13Pie menus: Confirm thresholdAntony Riakiotakis
This commit adds a confirm threshold property to pie menus. Basically, this will confirm the pie menu automatically when the distance from the center of the pie exceeds that threshold without a need to release the pie button. The confirm threshold will only work if it is larger than the pie threshold. The confirmation actually occur when the mouse stops moving, to allow multiple pie menus to be better linked together, (see below) This functionality also facilitates the ability for chained pie menus by dragging. Basically, a pie menu item can be a call_menu_pie operator and the new pie menu will still use the original pie menu release event for confirmation. This should allow for quick, gesture based navigation in pie menu hierarchies (going back in the hierarchy is still not supported though) There will be a demonstration pie in the official add-on soon
2014-09-30Support for "virtual pixelsize" on 4k screens.Lukas Tönne
On 4k devices the default pixel size leads to tiny OpenGL drawing that is hardly usable without doubling the DPI. The retina system on OSX aims to alleviate this problem by introducing a general 2x pixel size. No equivalent feature exists on other platforms so far. However, to emulate the effect this patch introduces a "virtual" pixel size factor for OpenGL drawing. Note that the user currently has to enable this manually by selecting the "Virtual Pixel Mode" in the user preferences (defaults to native). All windows of a Blender instance share the same virtual pixel size as well. It may be possible to handle this on a per-window basis and automate the selection somewhat (if enabled by the user), so working with multiple screens becomes more convenient, but technical limitations make this a bit difficult (on X11 with nvidia drivers the actual screen size is not reported correctly). Reviewers: ton, campbellbarton Differential Revision: https://developer.blender.org/D669
2014-09-17Cleanup: pep8Campbell Barton
2014-08-11Pie Menus C code backend.Antony Riakiotakis
This commit merges the code in the pie-menu branch. As per decisions taken the last few days, there are no pie menus included and there will be an official add-on including overrides of some keys with pie menus. However, people will now be able to use the new code in python. Full Documentation is in http://wiki.blender.org/index.php/Dev:Ref/ Thanks: Campbell Barton, Dalai Felinto and Ton Roosendaal for the code review and design comments Jonathan Williamson, Pawel Lyczkowski, Pablo Vazquez among others for suggestions during the development. Special Thanks to Sean Olson, for his support, suggestions, testing and merciless bugging so that I would finish the pie menu code. Without him we wouldn't be here. Also to the rest of the developers of the original python add-on, Patrick Moore and Dan Eicher and finally to Matt Ebb, who did the research and first implementation and whose code I used to get started.
2014-07-23Fix T41157Antony Riakiotakis
Was an issue with python interpretation error. Second part of the bug is fixed by Campbell. also minor UI tweak for occlusion UI.
2014-07-23Occlusion Query based selection.Antony Riakiotakis
This patch creates an interface for selection mechanisms in opengl. This makes it possible to switch between occlusion query based or select rendermode based selection transparently. This is really useful on graphics drivers that do not accelerate the select rendermode path (some ATI cards are notorious for this, and the new path is used by default there), since occlusion queries are always hardware accelerated due to their use in games. The option can be found under system - selection. Auto just enables occlusion queries for ATI users while the rest of the options enforce one of the two methods always. There is just one known change, previous code enforced nearest bone to always get selected, even when mouse selecting near the same position, I couldn't replicate the behaviour though. patch by me with edits and review by Campbell. Thanks!
2014-06-28Add render result caching.Bastien Montagne
Simply add an option to render settings to save an EXR cache, just when the render is finished. Also changed RE_ReadRenderResult() to read cache instead of temp sample files (those are fully volatile now anyway). Path to save cached render results is an UserPreferences setting. Also added 'Reload render' feature to the Image Editor (so one can now re-open a blend, and in an Image Editor hit ctrl-R to (try to) reload last render from cache). Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D553
2014-06-13UI: Add back ability to select a custom interface fontCampbell Barton
2014-05-21Fix T40267: Addon's bug tracker urls not respectedCampbell Barton
2014-03-19Code cleanup: de-triplicate add menu/toolbars, also style editsCampbell Barton
2014-03-11NDOF: enable orbit sensitivity menuitem outside 3d viewCampbell Barton
The color picker uses.
2014-03-01NDOF: add navigation modes to user preferencesCampbell Barton
also comment debug prints for raytracing
2014-02-20NDOF: define 2 default navigation modes: free & orbitCampbell Barton
After some discussion it seems both are valid defaults but useful for very different purposes. - 'free' lets you explore the scene with full 6dof (like fly mode) - 'orbit' is closer to typical mouse view orbit, constraining to orbiting about a central location. This doesn't effect orbit/pan which are available with modifier keys.
2014-02-19Code cleanup: styleCampbell Barton
2014-02-18NDOF: Fix for fly/walk mode ignoring axis invert optionsCampbell Barton
2014-02-18NDOF: show invert pan & zoom in the menu outside the 3d viewCampbell Barton
2014-02-15NDOF: rename 'zoom updown' to 'pan xy swap axis'Campbell Barton
This swapped translation for all ndof events.
2014-01-27UI: Replace +/- menus with collapsible onesCampbell Barton
Patch D160, by Scott Petrovic with own modifications.
2014-01-01Clean up Zoom Style section of Input PreferencesJonathan Williamson
This removes some grouping labels and improves option names to make them self explanatory and consistent with one another. Before: https://www.dropbox.com/sh/zp4ildwpuew1w4x/RSLGK_gOG7 After: https://www.dropbox.com/s/c131zb5zb1ds5ap/Screenshot%202013-12-31%2018.54.38.png
2014-01-01Align Author field and label horizontallyJonathan Williamson
This aligns the User Preferences > File > Author field and label horizontally, saving space and making it more consistent with author text fields within the same section.
2014-01-01Improve readability of System panel of User PreferencesJonathan Williamson
This commit adjusts the spacing of the items in User Preferences > System. The spacing is adjusted via separators between each section of options. This better differentiates between groups of options. It also removes a few extra separators for more consistency.
2013-12-03View Navigation: Walk and Fly modesDalai Felinto
This is a addtion to the dynamic fly mode. It behaves as the first person navigation system available in most 3d world games nowadays. You can alternate between the old mode (Fly) and the new mode (Walk) in User Preferences > Inputs Manual: ------- http://wiki.blender.org/index.php/Doc:2.6/Manual/3D_interaction/Navigating/3D_View#View_Navigation http://wiki.blender.org/index.php/Doc:2.6/Manual/3D_interaction/Navigating/3D_View/Navigation_Modes Shortcuts: ---------- WASD (hold) - Move forward/backward and straft left/right QE (hold) - Move up and down Tab - Alternate between Walk and Fly modes Shift (hold) - Speed up movement Alt (hold) - Slow down movement Space or MMB - Teleport V - Jump +/- or mouse wheel - speed increase/decrease speed for this Blender session User Preferences Options: ------------------------- Navigation Mode - fly/walk navigation systems (fly is the old, walk is the new, next options are for walk mode only) Gravity - alternate between free navigation and walk with gravity modes Mouse Sensitivity - sensitivity factor to mouse influence to look around Teleport Duration - how long the teleport lasts Camera Height - camera height to use in gravity mode Jump Height - maximum jump speed in m/s Move Speed - base move speed in m/s Boost Factor - multiplication factor when running or going slow (1/boost) Development Notes: ------------------ * The initial code was based on view3d_fly.c. * The NDoF code was not touched, so it most likely is not working. Pending Issues: --------------- * Draw in the UI the shortcut options, and current values (e.g., Mode: Fly/Walk) (we need a proper API for that) * OSX seems to present issues if we re-center the mouse every time. We implemented a workaround for that, but a real fix would be welcome. Code reviewed and with collaborations from Campbell Barton - @campbellbarton Differential Revision: http://developer.blender.org/D30
2013-12-02User Preferences: grey out Mouse Over options if option is unchecked.Scott Petrovic
Reviewed By: brecht Differential Revision: http://developer.blender.org/D64
2013-11-16Addons: remove tracker URL from addon template, as this is no longer used,Brecht Van Lömmel
and link to the new Addons bug reporting page.
2013-11-06Grease Pencil: User-Pref for setting the default colour of newly created layersJoshua Leung
2013-08-30minor ui editsCampbell Barton
- move addon refresh button into header - uilist, use icon for sorting by name (gives more room for name, icon is used in fileselector for same purpose). - rename orderby to sort in rna and flag names. - simplify BKE_nurb_handle_calc_simple
2013-08-28Fix for #36387, User Preferences "Addons" panel bogs down the whole interface.Lukas Toenne
The addons panel draw function calls addon_utils.modules() which in turn retrieves a list of fake modules from the script paths every time. This can become costly when network paths are included for addons. Solution is to put the scanning process into a dedicated "refresh" function and disable it in frequently called draw and filter functions, i.e. in these cases the cached addons_fake_modules list will be used instead. Note that this may lead to invalid addon lists if script paths are changed (which is not working 100% without restart anyway according to Campbell). For this there is now a "Refresh" operator button in the addons preferences. If necessary and feasible such forced refreshes can be added later too.
2013-08-24Followup to r59434 : py UI scripts edits.Bastien Montagne
Notes: * Made those edits by full checking of py files, so I should have spoted most needed edits, yet it remains quite probable I missed a few ones, we'll fix if/when someone notice it... * Also made some cleanup "on the road"!
2013-07-09move keymap ui into modules, its not loaded on startup anymore.Campbell Barton
2013-07-08re-arrange space_userpref_keymap, no need to use a subclass here, just ↵Campbell Barton
import the module and call draw_keymaps(). - making this change now because some addons developers are interested in showing keymap UI in their addons prefs and using the class involved making a fake class instance which isnt needed.
2013-06-27pep8 cleanupCampbell Barton
2013-06-22comment the icon file from the theme buttons since its not working.Campbell Barton
2013-06-18add option to enable auto-execute scripts, but exclude certain directories.Campbell Barton
2013-06-07add support for storing text styles in themes.Campbell Barton
also reset text styles when resetting to the default theme.
2013-06-07code cleanup: use more standard names for userpref ui functions was using ↵Campbell Barton
`context` for style vars.
2013-04-14Code cleanup / Layout script:Thomas Dinges
* Never ever use something like "rowsub" as variable.
2013-04-12Image draw method optionSergey Sharybin
This option replaces previously added GPU limit option, which became tricky to follow after GLSL display space conversion. There're 4 modes available: - AUTO which will try to guess which mode is best to use. Currently It'll try using GLSL and if it fails, will fallback to 2D textures. Probably it'll make sense checking on whether 2D textures works well but currently such behavior shall be sufficient. Later we could make this method smarter (for example don't try to use GLSL on certain GPU or so). - GLSL will currently behave the same way as AUTO, but it is intended to always try using GLSL (unless it can not be used because of existing limitation of dither and RGB curves). - 2D Textures will use CPU-based color space conversion and use OGL 2D Texture to display the image. Image will be displayed in tiles, so there shall be no big GPU memory consumption. - DrawPixels will straightly fallback to glDrawPixels without trying to use any fancy GPU stuff. Hopefully this will also fix #34943: Blender crashes when resizing the Compositing Screen Window
2013-03-28I18n: various fixing.Bastien Montagne
* Reflect changes stated in prev commit about contexts in py code. * Add a "Plural" context, to handle cases where english does not mark plural at all (e.g. shorten labels of only one adjective). Not so happy with that, but can't see any other way to do it, for now. * Abuse "ID_CURVE" context for all falloff curves (this should solve some confusion issues, e.g. "sharp"...).
2013-03-20I18n users request: add the ability to use a translated name for newly ↵Bastien Montagne
added/created objects or other datablocks. This simply adds a third "translation type" (in addition to iface and tip), "new data", with relevant user settings flag and helper funcs/macros (and py api). Currently implemented name translation when adding new objects, as well as modifiers and constraints, will add the others (cd layers, scenes, perhaps nodes [though I think they do not need this], etc.) later.
2013-03-18Forgot to commit the button to set memory limit for using GPU Images...Ton Roosendaal
2013-03-14Userprefs:Addon panel - Renamed label of the link to the documentationGaia Clary
2013-03-10Bug report #34573Ton Roosendaal
User Preferences, Themes, UI: buttons to define own icon image now draws greyed out, to show the option isn't working yet.
2013-02-10Actually, UI scripts should not use directly pgettext, but rather the iface ↵Bastien Montagne
or tooltip variants. Added those to bpy.app.translations, and used pgettext_iface. (Did not add those when I created that module, because I did not thought we would actually need them in usual UI code, but turned out I was wrong). Also made some optimizations in those py gettext funcs, when i18n is disabled at build time, no need to do pyobject -> cstring -> pyobject conversions!.