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-11-29Cleanup: unused headersCampbell Barton
2014-11-24SCons: correct include for win, also minor cleanupCampbell Barton
2014-11-24Cleanup: de-duplicate image drag & drop logicCampbell Barton
also don't make library paths relative on image load.
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.
2014-11-17Cleanup identation and fix a bad alignment issue in last commitAntony Riakiotakis
2014-11-17Numerical input for changing brush size, strenght or angle.Antony Riakiotakis
Patch by Martin Vykoukal, thanks! This patch adds ability to change brush parameters with keyboard, which is missing functionality from 2.4x. Original report: T28811 Reviewers: psy-fi Differential Revision: https://developer.blender.org/D837
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-11-16Cleanup: Replace `WM_operator_name_call` by `WM_operator_name_call_ptr` ↵Bastien Montagne
where possible. This avoids one lookup in optypes list...
2014-11-16Add PROP_PERCENTAGE to subtypes handled by WM_OT_radial_control operator.Bastien Montagne
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-11-09Fix T42540: save_pre and save_post handlers not called when saving ↵Brecht Van Lommel
startup.blend.
2014-11-06Slight corrections to the string formatting of autosave, thanks toAntony Riakiotakis
Campbell for the help!
2014-11-06Gooseberry request, append the file name to autosaves as well as the pidAntony Riakiotakis
2014-11-02Cleanup: mostly use bools for booleans.Bastien Montagne
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-10-28Fix T41041: 'Delete keyframe' removes markers tooCampbell Barton
Operators that trigger UI events (but nothing else) were using 'CANCELLED' making it impossible to tell if an invoke function failed, or opened a menu.
2014-10-28WM: clear operator memory on file loadCampbell Barton
Was causing problems when opening scenes with different scale set.
2014-10-28WM: unneeded alloc the operator-type iteratorCampbell Barton
2014-10-19Fix T42303 Icons lost after loading windowAntony Riakiotakis
The issue here is that if no matching winid is found, we destroy all windows and their context with them. This will also delete the OpenGL textures associated with the initial context, thus we lose the icons. This patch makes sure a window is always kept for later so the initial context does not get lost. Thanks to Campbell and Ton for the discussion on the issue.
2014-10-14Fullscreen Editor (new fullscreen mode for clean UI)Dalai Felinto
Organize Maximize/Fullscreen mess and add a new fullscreen mode with no UI * Maximize Editor: (old Ctrl+Up) * Full Screen Window: (old Alt + F11) * Full Screen Editor: new operator (Alt + F10) * Change Show/Hide Header: (Alt + F9) When the mode is on moving the mouse near the top right corner of the editor shows an icon to go back to the normal editor mode. This was originally intended for the multiview branch, but this functionality also benefits non-stereo workflows, thus it can be reviewed and committed independently. Development notes: * This includes cleanups in the code to sanitize the naming of fullscreen/maximize across the window/editor code. * Originally the idea was to make the window fullscreen as well, but this idea was dropped. * You can see the clicking area when debug is 1 * Technically the user can be left with an unfaded icon in the corner (specially when using a tablet). If we think this is too bad we can increase the action zone to be the whole screen, or something similar. Reviewers: campbellbarton [1], ton [2], fsiddi [2] [1] actual code review [2] design review Differential Revision: https://developer.blender.org/D678
2014-10-13Filter out pie spawn button events.Antony Riakiotakis
The reason being, with the current system of quick selection, it's possible to spawn an operator after confirmation, especially for cases with modifier buttons.
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-10-11CleanupCampbell Barton
2014-10-10Fix T32209 quitting not saving latest data if you are in edit or sculpt mode onAntony Riakiotakis
quit.blend. This will use a slower file write if an object is in edit or sculpt mode. Autosaving will explicitly not be supported to keep it fast. Added a tooltip warning.
2014-10-08Operator to define render border from rendered image editorSergey Sharybin
This way it is possible to define render border directly from the image editor, which is useful for at least three things: - If viewport is really optimized out (simplified etc) then it might be hard to guess which exact area you're mainly interested now. - No need to switch to the viewport to do render border tweaks, could be useful when doing compositing. - If one need to look at particular pixel(s) which is real handy for debugging render engines (both Cycles and BI). Reviewers: campbellbarton, venomgfx Reviewed By: venomgfx Differential Revision: https://developer.blender.org/D820
2014-10-08Fix T42137: Keymap editing is brokenBastien Montagne
Own mistake in previous fix here, was too greedy in finding an existing kmi of UserPref add diff kmi, we only want to ignore exact same kmi's here.
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-10-07Fix T42088: Creating new keybinds can cause duplicates when saving key ↵Bastien Montagne
config profile When patching a keymap with a 'UserPref' diff one, do not add keymap items from diff if they already exists in patched keymap.
2014-10-02Update link to the Support an Animation Movie linkSergey Sharybin
This is to be in the final release.
2014-10-01Anim Playback: Optionally draw flippedCampbell Barton
useful to view animations from different POV. FKey: X, Shift+FKey: Y
2014-10-01Cleanup: de-duplicate playanim matrixCampbell Barton
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-29Cleanup: spellingCampbell Barton
2014-09-24Cleanup: use float versions of functions when in/output are floatsCampbell Barton
2014-09-18Fix crashes with timers.Antony Riakiotakis
Incorrectly accessing the menu pointer, set it to NULL before doing the tests. We don't restore the menu pointer because it is invalid by the time the operator ends.
2014-09-14Cleanup & typo in assignmentCampbell Barton
2014-09-13Fix T41811: unreachable code in wm_keymap.cBastien Montagne
There was also an issue with passing sl->spacetype here, for some reason...
2014-09-10WM: Add utility wmOrtho2_*** funcsCampbell Barton
Currently there are inconsistencies with pixel alignment. but this commit has no functional changes. - wmOrtho2_region_ui for UI/Text. - wmOrtho2_region_pixelspace for 2D drawing. - wmOrtho2_pixelspace - when the region isn't used.
2014-09-07Fix T41737 using append from menu will result in error messageAndrea Weikert
message in terminal was: RNA_boolean_get: WM_OT_append.relative_path not found. Added check for existence of the relative path property which was removed from append since it is not needed and used.
2014-09-05Cleanup: de-duplicate link/append propsCampbell Barton
2014-09-04Separate operators for Link and Append.Andrea Weikert
Since the choice to link or append has been removed in the file browser operator panel, there was no way to tell whether as a user you were linking or appending. To fix this the proposed patch separates the operators. Reviewers: campbellbarton, carter2422, venomgfx Subscribers: fsiddi Maniphest Tasks: T41593 Differential Revision: https://developer.blender.org/D770
2014-08-28Fix T41473: Cycles volume rendering is too darkSergey Sharybin
The issue was caused by the changed defaults from the Cycles side. Because of those properties being saved as an IDProp and not being saved to the file, every change to the defaults would ruin someone's day updating the values. Added a bpy.app.handler.version_update which is run after the regular do_versions() are done and could be sued by the scripts to apply versioning code on their settings. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D761
2014-08-27Support better precision mode for angle properties in radial operatorAntony Riakiotakis
(holding down shift key) by using the new dial functionality.
2014-08-20Replace strstr with STRPREFIXCampbell Barton
No need to search the whole string.
2014-08-19Fix T41477: Some UI op buttons have no more option to edit shortcuts.Bastien Montagne
`WM_keymap_guess_opname()` was missing a bunch of op 'types'/familly. Now all are there, either trying to find a matching keymap, or explicitely listed in a comment as skipped for now. Note matching might not be perfect in all case, but we can easily tweak that later if needed.
2014-08-18Fix T41462: "Reload from trusted" button not prompting for confirmation.Bastien Montagne
Made 'revert_mainfile' op also handle the 'use scripts' option, and use it for this feature (since it has a nice simple invoke confirmation popup).
2014-08-15Fix T41421Antony Riakiotakis
Don't store selection properties, if those are set in the keymap we can end uo locking one state forever.
2014-08-14Fix part of T41297.Antony Riakiotakis
Add precision mode to radial operator by keeping the shift key pressed. Precision mode works by checking difference between absolute window coordinates and the point where shift was pressed and adding those to the distance between that point and the radial center. This allows bigger negative/positive range than using a strict radial scheme.
2014-08-11Minor cleanupAntony Riakiotakis