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-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()
2013-08-24Fix bad draw of plane track when using Tiny display optionSergey Sharybin
2013-08-24when the size of an edgehash is known or can be guessed,Campbell Barton
pass in the argument to reserve the size.
2013-08-24edge hash: take an arg for the guarded-malloc string (as ghash does)Campbell Barton
2013-08-24== filebrowser ==Andrea Weikert
* fix old bug: wrong layout that could happen when switching between thumbnail view and list view. This caused the layout to be recalculated sometimes and the items being moved. Reason was that the layout was wrongly initialized without the scroll bars, so calculated wrongly.
2013-08-24style cleanup: space around for loop wrappersCampbell Barton
2013-08-24Fix 36505: Collada exporter crashes Blender when exporting to locked fileGaia Clary
2013-08-24fix for crash in weight-paint-gradient, missing call to curve ↵Campbell Barton
curvemapping_initialize
2013-08-24Fix [#36330] Clicking Scrolled Object Properties Tab Brings Up Wrong OneBastien Montagne
Actually, happened in any view2D... Just added a call to WM_event_add_mousemove() in view_pan_apply, so that overed/active button is refreshed in this case.
2013-08-24Fix #36441: opengl render of smoke wrong after regular render with blender ↵Brecht Van Lommel
internal. Object.imat isn't always the inverse of Object.obmat, needs to be set before usage as mentioned in DNA_object_types.h. Thanks to Miika for tracking down the cause of this bug.
2013-08-24Related to [#36548] "Grease Pencil" ProblemsBastien Montagne
Use scene's GPencil when active object is deselected. Else it can be tricky and not user-friendly to access to the scene's GPencil once some objects have GPencil data (you have to select/active a non-gpencil object, or switch to a layout without active object...).
2013-08-24Fix state losses for recursive outliner trees (e.g. datablocks editor)Sv. Lockal
In previous optimization in outliner I assumed that order in treehash was not important. But testing outliner in datablocks mode revealed a problem: when user expands multiple recursive levels and then closes any element, it always closed the top level of recursion. Now it should work fine with recursive trees. Now treehash contains groups of elements indexed by (id,nr,type). Adding an element with the same (id,nr,type) results in appending it to existing group. No duplicates are possible in treehash. This commit should also make lookups a little bit faster, because searching in small arrays by "used" is faster than searching in hashtable with duplicates by "id,nr,type,used".
2013-08-23Fix compile in Visual Studio 2008:Andrea Weikert
* isfinite is not defined, in Blender code we use 'finite' instead
2013-08-23UI layout: Fix the fact that children layouts were implicitely ↵Bastien Montagne
inconditionnaly aligned when the parent was. E.g.in col = layout.column(True) row = col.row(False) Items in row would be 'aligned' in the same group as those in col. Now to get this happening, you have to set row as aligned as well. Please note that fixes for py UI scripts will follow in another commit. Also fixed labels of RNA pointers searchboxes, which were missing the colon!
2013-08-23patch to add backkbacks for game engine start/end,Campbell Barton
by sjoerd_de_vries
2013-08-23Fix [#36538] Discontinuity (Euler) Filter - never ends - (deadlock?)Bastien Montagne
Code could enter in an infinite loop when curve value was an odd multiple of PI (i.e. 180°)... Current code was also factorized and got rid of fabs calls! ;)
2013-08-23math api edits - replace point-normal form for a plane with dist_to_plane_v3()Campbell Barton
also correct python mathutils api, was missing vector checks.
2013-08-23new mesh bisect had a problem not selecting faces with fill option in face mode.Campbell Barton
2013-08-23fix leak in BM_face_split() with multires if the split failed.Campbell Barton
also remove redundant normal copy. only triangulate the mesh if its needed when enabling dyntopo.
2013-08-23new mesh bisect tool, available in the mesh menu.Campbell Barton
cuts the mesh in half based on the cursor location and the viewport, optionally supports filling the cut area (with uvs. vcols, etc), and removing geometry on either side of the cut.
2013-08-23edits to new symmetrize toolCampbell Barton
- snap axis-aligned verts to the center. - expose the threshold for detecting if a vertex is on the axis.
2013-08-23modify closest_to_plane_v3 not to use point-normal form.Campbell Barton
2013-08-23move bmesh tools into their own include,Campbell Barton
changes to tool args would rebuild far too many files and these are mainly by modifiers outside of bmesh.
2013-08-22replace symmetrize code with calls to bmesh operators.Campbell Barton
calls: bisect, duplicate, scale, flip, weld. resolves report [#36475] Symmetrise does not keep uv/weight also fixes issues with faces that cross the axis more then once.
2013-08-22add utility functions for dealing with planesCampbell Barton
- plane_point_side_v3(), a bit like line_point_side_v2() - isect_point_planes_v3(), moved from paint_hide.c functions to convert between point/normal pairs. - plane_from_point_normal_v3() - plane_to_point_normal_v3()
2013-08-22Automatically re-generate png icon files from svg ones (CMake only for ↵Bastien Montagne
now)... Expects Inkscape program.
2013-08-22Fix [#36530] Texture tab refreshing problemBastien Montagne
That was not really a bug (code working as expected), but the way tex context was handled was a bit raw, now it is much smarter: * Default fallback context (when current one is no more valid) will now choose "most specific" ones first (i.e. material/lamp/particules before world and "others"). * When using that default fallback context, previous one is stored and we try to revive it later, if possible. Thus e.g. object[mat tex ctxt] -> empty[default world ctxt] -> object[mat tex ctxt] is now working as expected. * However, when user explicitely or implicitely (through e.g. going to Material context...) sets a tex context, previous one is not stored, so that only default fallback context switch may later automatically revive a previous (presumably user-set) context.
2013-08-21Fix #36453: scaling faces with individual origins would permanently turn ofBrecht Van Lommel
proportional editing because this combination doesn't work, but it should be only temporary.
2013-08-21Fix #36499: proportional edit circle was drawing behind objects in some cases,Brecht Van Lommel
now it always draws in front to ensure the circle is visible.
2013-08-21Clear cyclic flag if we didn't copy the whole mask splineSergey Sharybin
2013-08-21Duplicate operator for masksSergey Sharybin
Topic says it all :) Jut implemented operator to duplicate mask points and segments between them (exactly the same behavior as Curve object duplication in edit mode). Does not copy animation, but that's tricky and likely not needed anyway.
2013-08-21bmesh api cleanup, face creation args now accept an example face (as with ↵Campbell Barton
vertex and edge), also replace BM_face_create_quad_tri_v with BM_face_create_verts