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
2013-09-01Move GCC attributes into a centraized definesSergey Sharybin
Instead of having ifdef __GNUC__ all over the headers to use special compiler's hints use a special file where all things like this are concentrated. Makes code easier to follow and allows to manage special attributes in more efficient way. Thanks Campbell for review!
2013-09-01Tag unused arg as unused.Sergey Sharybin
2013-09-01Patch #36622, by Henrik Aarnio: Fit backdrop image to the area dimensions.Lukas Toenne
A new operator to alter the backdrop zoom level so that it fits fully within the node editor area, and centers the image. Shortcut alt-home, as home is used for fitting stuff into the view everywhere.
2013-08-31patch [#35928] View roll operatorCampbell Barton
from Kevin Mackay (yakca), with my own additions to make it modal (though there are no keys bound to modal roll by default).
2013-08-31text spacing was using DPI rather then the size of the text.Campbell Barton
characters could draw outside the selection when the text was scaled up.
2013-08-31text drawing glitche - highlight line was offset slightly from selection.Campbell Barton
2013-08-31remove calls to CTX_wm_region(C) when the region is already known.Campbell Barton
also remove unused toggle vars in uiHandleButtonData
2013-08-31fix for ui glitch, pressing backspace over a button to reset to the default ↵Campbell Barton
value didnt work for the uilist text button (others too), missing redraw.
2013-08-31Simplify line/plane intersection, add line_plane_factor_v3().Campbell Barton
Remove no_flip option for isect_line_plane_v3(), its quite specific and only used for ED_view3d_win_to_3d().
2013-08-31RenderEngine API: add viewport draw utility functions to bind a GLSL fragmentBrecht Van Lommel
shader for converting colors from linear to display space, based on the scene color management settings. if engine.support_display_space_shader(scene): # test graphics card support engine.bind_display_space_shader(scene) # draw pixels .. engine.unbind_display_space_shader()
2013-08-30quiet compiler warningsCampbell Barton
2013-08-30Some knife fixes. Avoids duplicating verts; better handling of cut-through ↵Howard Trickey
ortho. Now cut lines detect vertices that they pass (almost) exactly over and snap to them, to avoid making verts vert close to other ones. Added radius arg to BKE_bmbvh_ray_cast so that can detect an obscuring face when the ray might otherwise go exactly between two triangles. Needed an isect_line_tri_epsilon function for similar reason. Fixes last part of bug #35002. Other knife bugs still present but getting this commit in now before continuing bug fixing.
2013-08-30execute bisect immediately (without starting modal input) if the plane is ↵Campbell Barton
already set or if there is no 3d view available.
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-30Followup for rev59629.Sergey Sharybin
Condition in pose mode seemd to be inverted, which made it so pose mode could not be entered.
2013-08-30Fix #36605: Segfault when border selecting markers in the "graph" mode when ↵Sergey Sharybin
no track is active
2013-08-29don't show screen-space-line start/end points in operator redo panel.Campbell Barton
2013-08-29mesh bisect can now be defined with mouse inputCampbell Barton
(using cursor + numeric values was too clumsy for defining orientation). once the cut is done numeric input still works as before
2013-08-29correct own error r59619 (changes made to patch, adding handle recalculation ↵Campbell Barton
which is needed after splitting).
2013-08-29Fix building under windows after r59631 (grr, sorry :/ ).Bastien Montagne
2013-08-29Support transformation around 2D cursor in movie clip editor.Sergey Sharybin
2013-08-29Last uiList patch (for now!): filtering and reordering of shown elements.Bastien Montagne
Thanks to Brecht for the reviews. :) This commit adds a show/hide extension below each uiList, containing by default an option to filter and/or reorder items by name (and to reverse those filtering and reordering). Each derived uiList class in Python can define more specific filtering by implementing callbacks: the draw_filter() function to draw options in UI, and the filter_items() function to effectively filter/reorder items. Note: the advanced options for vgroups shown as "proof od concept" in patches do not go in trunk for now, we have to find a better way to get those vgroups info for UI code, we can't afford to loop over each vertex here! And doc (release notes and uiList example) is still to be updated, will do this in next days.
2013-08-29follow up on r59628, setting modes now ensures that other modes exit first,Campbell Barton
this was only done in some cases before and it was possible to enable weightpaint+sculpt at the same time when enabling sculpt by directly running the mode switching operator. add generic function to ensure a compatible mode before entering the new mode (added to each operators exec function)
2013-08-29fix [#34462] Crash when switching modes via mix of TAB and spacebar menuCampbell Barton
2013-08-29fix for glitch where the text editor could be clamped to scroll above line 1 ↵Campbell Barton
(would flicker on scroll).
2013-08-29edits to curve operatorCampbell Barton
- remove delete-all option (users can just select all and delete as with all other modes). - remove CALLOC_STRUCT_N macro. - CURVE_OT_delete define a dynamic enum rather then a custom invoke menu function.
2013-08-29code cleanup: curves, replace magic numbers for enums.Campbell Barton
2013-08-29patch [#36336] Split operator for curves and surfacesCampbell Barton
by Kevin Mackay (yakca) The operator follows roughly the same behaviour as the split operator for a mesh (Ykey).
2013-08-29micro-optimization, avoid checking is_power_of_2_i once in power_of_2_max_iCampbell Barton
also whitespace edit.
2013-08-29Fix #36595: file browser sorting with link/append would mix together .blend ↵Brecht Van Lommel
files and directories instead of keeping them separate like regular file browse.
2013-08-28Some tweaking to uiList dragsize, to make it more reactive to very quick moves.Bastien Montagne
Note that, even though not officialy supporting non-UI_UNIT_Y height items (other point like scrollbar size would faill too), we try to maintain a not-that-bad behavior in this case, which implies a bit of black magic (esp. as our ref point is the bottom of the list, which moves when it is resized :/)...
2013-08-28Fix #36555: preview render in properties editor did not get cancelled andBrecht Van Lommel
restarted fast enough on resizing the editor, especially noticeable with e.g. luxrender which does a progressive refining render.
2013-08-28Cycles / Sky Texture:Thomas Dinges
* Added a new sky model by Hosek and Wilkie: "An Analytic Model for Full Spectral Sky-Dome Radiance" http://cgg.mff.cuni.cz/projects/SkylightModelling/ Example render: http://archive.dingto.org/2013/blender/code/new_sky_model.png Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Textures#Sky_Texture Details: * User can choose between the older Preetham and the new Hosek / Wilkie model via a dropdown. For older files, backwards compatibility is preserved. When we add a new Sky texture, it defaults to the new model though. * For the new model, you can specify the ground albedo (see documentation for details). * Turbidity now has a UI soft range between 1 and 10, higher values (up to 30) are still possible, but can result in weird colors or black. * Removed the limitation of 1 sky texture per SVM stack. (Patch by Lukas Tönne, thanks!) Thanks to Brecht for code review and some help! This is part of my GSoC 2013 project, SVN merge of r59214, r59220, r59251 and r59601.
2013-08-28warn when applying transformation does nothing, confusion pointed out in ↵Campbell Barton
[#36583]
2013-08-28tweak to dragging the ui-list, would lag behind the mouse noticeably.Campbell Barton
2013-08-27Small enhancement to grab-resize of uiLists, suggested by plasmasolutions: ↵Bastien Montagne
do not effectively apply auto-size until we stop grabbing, avoid size of uiLists to switch between rows and maxrows while dragging.
2013-08-27Get rid of madness about fnmatch: BLI_fnmatch did not do the OS checks, they ↵Bastien Montagne
had to be done in every file using fnmatch (autoexec.c did not, wonder how it could work under unix???). Thanks to Brecht for noting this!
2013-08-27uiLists enhacements: dragresize and better GRID layout.Bastien Montagne
Many thanks to Brecht for the review! * You can now drag-resize uiLists (in default or grid layouts). ** Note about "default" size: when you drag below minimal size of the uiList, it will automatically reset to automatic sizing (i.e. size between rows and maxrows, depending on the number of items to show). This often means (e.g. in Materials list with many mat slots) that the list will grow again to maxrows! * Grid uiLists now have a customizable number of columns (previously it was a fixed value of 9), and they will respect the rows/maxrows settings as well (i.e. show a scrollbar when needed), instead of growing indefinitly!
2013-08-27Icons: add a "grip" one.Bastien Montagne
2013-08-27ghash/bli-listbase edits, rename BLI_ghash_pop -> BLI_ghash_popkey (since it ↵Campbell Barton
takes a key as an arg and isnt popping any element from the hash as you might expect). add BLI_pophead/tail, since getting the first element from a list and removing it is a common task.
2013-08-27Mask primitivesSergey Sharybin
Currently only circle and square, might be easily extended in the future. New primitives are creating at cursor location. This also implied adding 2d cursor to space clip. Also fix set 2D cursor location which didn't work in image editor's mask mode since 2.67. TODO: draw_image_cursor better be moved to some more generic file, but it's not so much important for now and might be solved later. Thanks Campbell for the review!
2013-08-26Fix [#36308] Custom hotkey "Set Object Mode" - "Object Mode" doesn't work ↵Bastien Montagne
properly There was actually two different issues: * mode and toggle options had "remanant" values, when e.g. you used MODE_EDIT/toggle, these would be used again with the newly defined keymap (which sets eg MODE_OBJECT/notoggle)... Defining those props as PROP_SKIP_SAVE fixed this. * Toggling was not supported for MODE_OBJECT, fixed this (can indeed be handy to have a shortcut to toggle between current mode and Object one ;) ).
2013-08-26Don't check for an object mode that is excluded as a prerequisite forAntony Riakiotakis
entering this branch of code.
2013-08-26Remove dirty normals assert from drawobject.cSergey Sharybin
Dirty normals already being checked in DerivedMesh.c, and this things really rather be localized in one single place than being checked all over the code.
2013-08-26Fix uiList labels themed colors.Bastien Montagne
r57760 broke usual labels, and r59511 broke again uiList labels! :P Hopefully every one works as expected now!
2013-08-26Remove (comment out) auto-generating png form svg (r59382) in CMake, handy ↵Bastien Montagne
but gives nasty "false changes" in svn. Let's try not to forget to update PNGs when needed, then!
2013-08-26Bugfix #36324Ton Roosendaal
Commit 57760, June this year, broke Theme colors for Label Buttons. All labels, in every editor or region, now were using same color. These colors have to be derived from the Editor settings. Code for this was mistakingly removed.
2013-08-26no remove double property lookups in ED_fileselect_set_params and redundant ↵Campbell Barton
NULL check in file_main_area_draw.
2013-08-26replace hashes with sets where possible.Campbell Barton
2013-08-24ghash: reserve size when its known or can be guessed close enough.Campbell Barton
also avoid allocs per node in pbvh_bmesh_node_limit_ensure()