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
path: root/source
AgeCommit message (Collapse)Author
2013-04-15Fix #34978: for cycles, images displayed in the UV editor where coupled to theBrecht Van Lommel
active image texture node in the material, now this is removed and the image in the image editor is decoupled and not changed upon entering edit mode. This system caused more confusion then it's worth, changing or removing textures would modify the material but users would often not be aware of this.
2013-04-15Fix #34975: crash rendering curve/text with modifiers that alter topology,Brecht Van Lommel
was issue in new freestyle code.
2013-04-15Touch properties when clearing/adding to a collection.Sergey Sharybin
Fixes an issue when adding several movie strips fails second time in sequencer.
2013-04-15Fix for cycles border render optimization commit, render status bar was off ↵Brecht Van Lommel
by 1 pixel.
2013-04-15Fix #34967: Display transform makes byte image with alpha=0 blackSergey Sharybin
Skip premultiplication/de-premultiplication when acquiring display buffer for a byte image. Will make conversion a bit faster also :)
2013-04-15rename axis_angle_to_mat3_no_norm() --> axis_angle_normalized_to_mat3().Campbell Barton
this matches closer to convention from existing functions - angle_v3v3() angle_normalized_v3v3(). also added assert to ensure argument given to axis_angle_normalized_to_mat3() is in fact normalized.
2013-04-15Fix: when using a search menu with an operator's enum prop, the operator was ↵Bastien Montagne
previously always executed with default options (appart from the search-set enum, of course). Now we store the op's properties in search button, so that you can specify non-default options (as it was already possible with e.g. pop-up menu from an operator's enum prop). To achieve this, some code (callbacks and search button creation) was moved from wm_operators.c to interface/interface.c, and a new UI function was added, uiDefSearchButO_ptr. Note: This new code uses the fact that uiButHandleFunc callbacks get executed before operator when one of its arg is the button itself! Many thanks to Campbell who helped me a lot with this patch! Cleanup: also removed two unused pointers from uiBut struct.
2013-04-15New implementation for twist brushes.Antony Riakiotakis
It has much better rotation and avoids the compression effect that old twist brushes have. Also twisting is now non periodic, meaning you can twist beyond 180 degrees. The amount of twist is also calculated relative to the angle formed after first translating the mouse away from the brush center.
2013-04-15WIP, jason's patchAntony Riakiotakis
2013-04-15Fix #34972: Blender crashes when Force Field-> Curve Guide is createdSergey Sharybin
Made it so where_on_path works correct when Curve does have editNurbs but no Curve->nurbs.
2013-04-15minor edits to DM_update_weight_mcol(), skip getting vars when in editmode, ↵Campbell Barton
also remove old/invalid comment.
2013-04-15Removed the extra ntree->update flag check in lib_verify_nodetree in ↵Lukas Toenne
readfile.c. This is unnecessary as the update flag will be checked internally in ntreeUpdateTree anyway, except for the generic bNodeTreeType->update callback (it could even be harmful by preventing necessary updates that don't use the ntree->update flag). Executing this once after loading a node tree is a useful feature for pynodes, so they can do initial verification.
2013-04-15code cleanup: minor BMESH_TODO's, some were left in even though they were ↵Campbell Barton
done/invalid.
2013-04-15Cycles: optimization for 3D viewport border render with heavy scenes, the OpenGLBrecht Van Lommel
render of objects could slow things down when redrawing the view each time a new sample is displayed. Now it does a partial redraw of the viewport with only the render border area, skipping OpenGL object drawing while the render is refining.
2013-04-14BGE: Cleaning up BL_ShapeDeformer's use of Blender's Key. This also fixes a ↵Mitchell Stokes
bug with replicas (added objects) crashing when using shape keys.
2013-04-14Freestyle stroke rendering is now done before lens flare. Suggested by Ton ↵Tamito Kajiyama
on IRC.
2013-04-14Fix for r55961 which revered texture icons fix at r55499Sergey Sharybin
Reported by Antony Riakiotakis, thanks!
2013-04-14== FFMPEG / Canon DSLR footage workaround ==Peter Schlaile
The latest ffmpeg versions include a workaround to deal with a certain pecularity in Canon DSLR footage: instead of decoding pictures with the proper resolution of 1920x1080 they decode it with 1920x1088 and add a black bar at the bottom. Needless to say, that this screws up things in a lot of areas within blender (proxy indices, mask animations etc.) Since all blender versions besides Linux x86 32bit seem still to include older ffmpeg versions which still contain this bug, this patch adds a workaround for older versions until we have all versions on all platforms up to date. See also: http://git.libav.org/?p=libav.git;a=commit;h=30f515091c323da59c0f1b533703dedca2f4b95d
2013-04-14code cleanup: minor changes, clang checker option for exact size matches and ↵Campbell Barton
use vector functions.
2013-04-14correct pyapi function intersect_line_sphere_2d() using 3d vecs when only 2d ↵Campbell Barton
are needed.
2013-04-14fix for tangent curve flipping only doing 2d angle tests.Campbell Barton
2013-04-14Texture stencil:Antony Riakiotakis
Robustness: Avoid translating the stencil outside the active area. Helps to avoid losing the stencil somewhere in bitspace. Usability: Take image repeat mapping and scaling into account when fitting stencil aspect. Togglable by operator properties.
2013-04-14Node Socket UI:Thomas Dinges
* Fix for Min/Max labels, they started with a lower-case character.
2013-04-14minor speedup to BM_mesh_normals_update()Campbell Barton
2013-04-14Fix for #34910, NodeGroup input/output sliders bug. Initially i thought this ↵Lukas Toenne
was a limitation of the "only 1 list per panel supported" type, but this has since been fixed. Lists just need an additional identifier to distinguish lists in the same panel, thanks to Bastien Montagne for the uiList overhaul!
2013-04-14use UNLIKELY macro for frequently called inline bli math functions.Campbell Barton
2013-04-14bmesh operators: use operator type-flag to specify which operations require ↵Campbell Barton
normal-calculations and which operations require selection flushing. eg, no need to flush selection after 'Smooth' tool, no need to recalculate normals after 'Select Similar'.
2013-04-14modify snapObjectsRayEx() to use a pointer to 'ray_dist' rather then passing ↵Campbell Barton
the dist, this is to better support multiple calls to ray-cast where only closer distances are accepted.
2013-04-14BGE: Adding mipmapping control to bge.render via bge.render.setMipmapping() ↵Mitchell Stokes
and bge.render.getMipmapping().
2013-04-14Fix for [#34913] Freestyle: Problem w/ Edge Marks combined w/ Collision.Tamito Kajiyama
Freestyle edge marks were messed up with Collision and other physics mesh modifiers. The issue was due to copied Vlak instances without resetting edge marks to proper values. Also made minor changes for avoiding unnecessary hash table lookups, and added an assertion to check potential buffer overrun.
2013-04-14BGE: Adding a render.setFullScreen() and a render.getFullScreen() to allow ↵Mitchell Stokes
fulscreening games via Python.
2013-04-14code cleanup: edit-derived-mesh, define 'BMesh *bm' as local variable, avoid ↵Campbell Barton
'bmdm->em->bm' within functions.
2013-04-14fix for error in editmesh derived callbacks, emDM_getVert(), emDM_getEdge(), ↵Campbell Barton
emDM_getTessFace(). Currently the functions aren't used since they would fail have failed immediately.
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-14Mesh Drawing:Campbell Barton
Option to draw mesh vertex-weights in editmode, available from the 'Mesh Display' panel. TODO: get this to work when modifiers are applied in solid mode (texface-solidmode is working).
2013-04-13code cleanup: more minor changes for editmesh face drawing.Campbell Barton
2013-04-13code cleanup: editmesh draw functions, make face drawing more consistent.Campbell Barton
2013-04-13Node editor: create the toolbar area right at the start in node space, in ↵Lukas Toenne
order to show the '+' icon for expanding.
2013-04-13Fix: uiBlockSetNFunc was using uiButHandleFunc as param signature, instead ↵Bastien Montagne
of uiButHandleNFunc one (was working because both are the same currently).
2013-04-13Replacing the node Add menu and making the toolbar usefulLukas Toenne
As some people have already noticed, the "Add" menu for nodes is a bit messy since pynodes merge. The reason for this is that the order of nodes in submenus (categories) was previously defined by the order in which all nodes are registered (at the bottom of blenkernel/intern/node.c). For the dynamic registration of node types now possible this system of defining node order along with registration is no longer viable: while it would still sort of work for C nodes, it is completely meaningless for dynamic (python) nodes, which are basically registered automatically in whatever order modules and addons are loaded, with the added complexity of unloading and reloading. To fix this problem and add a bunch of desirable features this commit replaces the C menu with a python implementation. The new menu does not rely on any particular order of types in the node registry, but instead uses a simple explicit list of all the available nodes, grouped by categories (in scripts/nodeitems_builtins.py). There are a number of additional features that become possible with this implementation: 1) Node Toolbar can be populated! The list of nodes is used to create 2 UI items for each node: 1 entry in a submenu of "Add" menu and 1 item in a node toolbar panel with basically the same functionality. Clicking a button in the toolbar will add a new node of this type, just like selecting an item in the menu. The toolbar has the advantage of having collapsible panels for each category, so users can decide if they don't need certain nodes categories and have the rest more easily accessible. 2) Each node item is a true operator call. The old Add menu is a pretty old piece of C code which doesn't even use proper operator buttons. Now there is a generic node_add operator which can be used very flexibly for adding any of the available nodes. 3) Node Items support additional settings. Each "NodeItem" consists of the basic node type plus an optional list of initial settings that shall be applied to a new instance. This gives additional flexibility for creating variants of the same node or for defining preferred initial settings. E.g. it has been requested to disable previews for all nodes except inputs, this would be simple change in the py code and much less intrusive than in C. 4) Node items can be generated with a function. A callback can be used in any category instead of the fixed list, which generates a set of items based on the context (much like dynamic enum items in bpy.props). Originally this was implemented for group nodes, because these nodes only make sense when linked to a node tree from the library data. This principle could come in handy for a number of other nodes, e.g. Image nodes could provide a similar list of node variants based on images in the library - no need to first add node, then select an image. WARNING: pynodes scripters will have to rework their "draw_add_menu" callback in node tree types, this has been removed now! It was already pretty redundant, since one can add draw functions to the Add menu just like for any other menu. In the future i'd like to improve the categories system further so scripters can use it for custom node systems too, for now just make a draw callback and attach it to the Add menu.
2013-04-13Usability fix, own collection.Ton Roosendaal
If you have two windows, each with different scene, the render output for a window would go to the other, if it was already drawing a render for the other scene. Now you can have renders draw correct in two windows for two scenes.
2013-04-13code cleanup: remove unused string formatting in bli_adddirstrings(), also ↵Campbell Barton
remove unused initializations and comment unused vars.
2013-04-13Accidentally left in test function. All's fine now!Ton Roosendaal
2013-04-13Fix compilation, ifdef test_file just in case it is useful for later.Antony Riakiotakis
2013-04-13Cycles / Save Buffers:Thomas Dinges
* Save Buffers could not be disabled in the UI, when "Full Sample" was enabled in Blender Internal.
2013-04-13Bug fix #34896Ton Roosendaal
The feature "Keep Session" was also loading that session when you double-click on a .blend to open it, or when a .blend file was on commandline. Moved this feature to the main() in creator.c, so it can check on it properly, skipping the kept session when a file was loaded.
2013-04-13improved tooltips even more (as discussed in IRC)Gaia Clary
2013-04-13improved tooltipsGaia Clary
2013-04-13Add update to brush texture preview when brush is changed. SolvesAntony Riakiotakis
cycling through tools with number or tool keys and no texture preview getting updated.
2013-04-13code cleanup: use `const char` for args and replace wm_keyconfig_list_find() ↵Campbell Barton
-> BLI_findstring()