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-04View3d: move lock check for orbit into a function and use for dolly tooCampbell Barton
2014-02-04Code cleanup: declarations for removed functionsCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-02-03Use bool where appropriateJoshua Leung
2014-01-31Code cleanup: be less vague checking invalid index valuesCampbell Barton
2014-01-29Fix T38358: Face snapping fails on Orthographic viewBastien Montagne
Issue is caused by start point of ray used to detect faces under the mouse is set rather far away in ortho 3dviews. The loss of precision on the ray location induced by this can lead to face snapping failures. Solution is to do the raycasting with a temp start point, much closer to the object we check, and add back to the found distance the diff to the real start point once detection is done (as we need all hit distances from all tested objects to be relative to a common point!). Note this commit only addresses the "face snapping on mesh" case, other kind of snapping do not seem to suffer from this issue. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D268
2014-01-29UI: Refactor timecode functions into BLI_timecodeCampbell Barton
- deduplicate timecode_simple_string from image.c - replace V2D_UNIT_SECONDSSEQ with V2D_UNIT_SECONDS - avoid possible buffer overflow bugs (sprintf -> BLI_snprintf) - remove option not to use timecode and split into 2 functions Patch D227 by Andrew Buttery with own refactoring.
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-27Use includes for blenderplayer stubsCampbell Barton
exposes many incorrect and redundant stubs
2014-01-27UI: Replace +/- menus with collapsible onesCampbell Barton
Patch D160, by Scott Petrovic with own modifications.
2014-01-27Curves: save active point to fileKevin Mackay
Changed curve active point from pointer to index. Allows curve active point to be saved to file and retained between modes for free. Also some small optimisations by removing pointer look up code. - Made active point access functions into BKE API calls. - Fixes operators where curve de-selection resulted in unsel-active point. - Split curve delete into 2 functions
2014-01-23Tab theme colorsCampbell Barton
patch D234 from Jonathan Williamson with edits - de-duplicate rna_def_userdef_theme_space_gradient and rna_def_userdef_theme_space_generic - ui_theme_init_new_do now always sets theme settings (no need to test), used by bpy.ops.ui.reset_default_theme()
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2014-01-20Fix T37967: autosave does not save dynamic topology edits while in sculpt mode.Brecht Van Lommel
2014-01-20Fix T38269: scene full copy in mesh edit or sculpt mode did not copy mesh edits.Brecht Van Lommel
2014-01-20Correction for recent commit clearing font cacheCampbell Barton
- move cache reset into view2d and comment about the rationale for resetting cache there. - missed other places where view2d zoom level can change (smoothview, borderzoom, home and file reload) - comment about DPI wasn't correct.
2014-01-17UI: tweak menu padding and make separator line more visible.Brecht Van Lommel
Adds some padding to the left of the icon, adds more space around the separator line and make it more visible, and add some spacing at the top and bottom of the menu. Ref T37794 Reviewed By: dingto, billrey Differential Revision: https://developer.blender.org/D223
2014-01-17UI/Modifiers: add missing icon for Wireframe modifierSimon Repp
Reviewed By: carter2422, billrey, plasmasolutions, brecht Differential Revision: https://developer.blender.org/D220
2014-01-17T37579: Theme settings for Keyframe ColoursJose Molina Garcia
This patch makes it possible to customise the colours used for the different keyframe types (Keyframe, Breakdown, Extreme, Jitter) and the border colours (normal and selected). Reviewed by: Joshua Leung
2014-01-16Fix T38217: Fix glitch adding Monkey with view alignCampbell Barton
added an option so view-align can default to a different axis.
2014-01-14Make Toolbar Tabs more readableJonathan Williamson
This makes the tabs slightly larger, increases the text size slightly, and adjusts the colors a bit to improve overall contrast. It also makes inactive tabs draw with a full tab shape, improving the readability at a glance, particularly when tabs are very small. The users most affected will be those on smaller displays, where previously tabs were very difficult to read. Reviewers: @billrey, @campbellbarton Differential Revision: https://developer.blender.org/D170
2014-01-08Fix issues with float precision in numinput, like 'R 123' who would show ↵Bastien Montagne
additional 'noise' digits. Expose float precision helper in UI_interface.h API, so that numinput can use this helper as numbuttons already do. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D186
2014-01-04RNA API: use bool's for enum itemf callbacks.Campbell Barton
2013-12-26Avoid temporary change of animation data flags for nodes filterSergey Sharybin
Use temporary runtime flag of filter_mode argument instead. This commit also fixes some weirdo mix of filter_mode with filterflag bits.
2013-12-24UI: Display alpha checkers in image info's color swatch.Campbell Barton
2013-12-22Modifier: New Wireframe ModifierCampbell Barton
Based on patch originally by Thomas Beck, uses options similar to solidify.
2013-12-21Support units in modal numinputBastien Montagne
Summary: This completly changes the way modal numinput is handled. Now, edited expression is a string, which then gets unit- and py-evaluated to get a float value. We gain many power and flexibility, but lose a few "shortcuts" like '-' to negate, or '/' to inverse (if they are really needed, we still can add them with modifiers, like e.g. ctrl-/ or so). Features: - units (cm, ", deg, etc.). - basic operations from python/BKE_unit (+, *, **, etc.), and math constants and functions (pi, sin, etc.). - you can navigate in edited value (left/right key, ctrl to move by block) and insert/delete chars, e.g. to fix a typo without having to rewrite everything. - you can go to next/previous value with (ctrl-)TAB key. - As before, hitting backspace after having deleted all leading chars will first reset the edited value to init state, and on second press, the whole "modal numinput" editing will be cancelled, going back to usual transform with mouse. Notes: - Did not touch to how values are shown in header when modal numinput is not enabled (would do that in another commit), so this is still quite inconsistent. - Added back radian support in BKE_unit. - Added arcminute/arcsecond to BKE_unit. (those unit changes affect all angle UI controls, btw, so you can now enter radians or longitude/latitude values when in degrees units). Related to T37600. Reviewers: brecht, campbellbarton, carter2422 Reviewed By: brecht, campbellbarton, carter2422 Thanks everybody! Differential Revision: http://developer.blender.org/D61
2013-12-20Fix bookmarks not appearing in file browser after "copy previous settings".Brecht Van Lommel
2013-12-19Fix T37387 VIEW3D_OT_view_selected in sculpt mode zooms far fromAntony Riakiotakis
sculpted object if last sculpt stroke ends outside the mesh. Code here used the last true location which is invalid in that case, just reuse the average stroke location instead.
2013-12-18Code Clenaup: use const for button checking functionsCampbell Barton
2013-12-17UI: Theme Colors for Info spaceSv. Lockal
2013-12-17'Transform' Python Function for armature, curve and lattice.Campbell Barton
patch by Paolo Acampora with some edits.
2013-12-17Fix T37103: Keyframing custom properties issue (FCurve would not reflect ↵Bastien Montagne
Custom props type changes). Add an helper func to re-compute integer-only fcurve flags, and call it when editing custom props. Reviewed by aligorith, thanks! Summary: Proposal fix for "keyframing custom properties issue" (T37103). Reviewers: aligorith Maniphest Tasks: T37103 Differential Revision: http://developer.blender.org/D111
2013-12-16UI: Tabs categories for panels (D75)Campbell Barton
- works by defining panel categories, currently restricted to the toolbar. - no panels define bl_categories yet, so no user visible changes since tabs only show when there are multiple. - panel pinning is available in rmb menu or alt+lmb.
2013-12-09Enhancement: added node colors for every node classJeroen Bakker
In the user preferences all node classes can get its own color The in/out color is splitted into 2 sepatate colors the rna has been updated to better names
2013-12-09Fix T37727: z-offset problems with camera viewCampbell Barton
2013-12-09View3D API: rename view3d_camera_get to ED_view3d_camera_data_getCampbell Barton
2013-12-08Fix T37326 inversion of image channels did not do an undo push. Now only do ↵Antony Riakiotakis
an undo if we are in image paint mode and use the paint undo stack. Also added missing GPU update.:
2013-12-07Code Cleanup: pass rectangles as const in insterface filesCampbell Barton
2013-12-02Fix T37671: Edit Texture Space on Skin Resize crashSergey Sharybin
Texture space editing from TFM_SKIN_RESIZE is not supported, so hide the option and don't use it for such a transform.
2013-12-02Blender Font (BLF): add length argument to string width/height functionsCampbell Barton
This also fixes a crash editing buttons longer then UI_MAX_DRAW_STR
2013-12-01Code Cleanup: make cpack into a function.Campbell Barton
2013-11-29File Browser: autocomplete keeps focus in the file field when entering a folder.Brecht Van Lommel
There is a bunch of internal refactoring going on too: * No longer use operators to handle these directory and file fields, only makes things more complicated than they should be. * Handle autocomplete partial/full match deeper in the UI code * Directory field still does not keep focus, that's for another time to fix, you can already do pretty quick keyboard only navigation with the file field. Reviewed By: elubie Differential Revision: http://developer.blender.org/D29
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-11-25UI: remove unnecessary confirmation popupsEmanuel Claesson
This makes a number of operators no longer ask for confirmation, rather it will show an info message after performing the operation. Ref T37422 for decision. In particular, these were changed: * Delete objects, bones, keyframes, masks, mask curves, motion tracks, markers. * Clear and delete keyframes in the 3D view. * Align bone to parents. * Separate bones from armature. * Group/ungroup metastrips in sequencer. * Copy/paste objects to/from buffer. Reviewed By: brecht, dingto Differential Revision: http://developer.blender.org/D35
2013-11-25User Defaults: Change user defaults based on decission by new UI team - T37518Campbell Barton
Currently these changes are not saved in startup.blend to avoid bloating our repo whenever we want to make minor changes.
2013-11-25Transform: internal changes for orientations calculations.Campbell Barton
- use (const char *) for the 'name' - use bool where possible. - remove unused return value for initTransInfo
2013-11-23UI List: ctrl click on names in list can be used for renaming.Bastien Montagne
Summary: More information here: http://lists.blender.org/pipermail/bf-committers/2013-November/042113.html Reviewers: brecht Reviewed By: brecht CC: mont29 Differential Revision: http://developer.blender.org/D8
2013-11-23More short->bool refactoring work for anim channel type define callbacksJoshua Leung
Changed the "neg" flag for acf.setting_flag() to be a bool
2013-11-23Anim Editors: Refactored animchannel type definition callbacks to use boolsJoshua Leung
Changes: - acf.name_prop() and acf.has_setting() now return bools instead of shorts - Renamed a few name_prop() callbacks whose names ended in "_nameprop" instead of "_name_prop", which made it difficult to safely find all such instances