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
2011-03-13Bugfix [#26473] Keyframe values for F-Curves were incorrectly wrappedJoshua Leung
in RNA as "translation" values, which implies dimensionality is incorrect here as F-Curves do not specifically "know" about the type of the data they affect
2011-03-12library loading api.Campbell Barton
this is not well suited to RNA so this is a native python api. This uses: bpy.data.libraries.load(filepath, link=False, relative=False) however the return value needs to use pythons context manager, this means the library loading is confined to a block of code and python cant leave a half loaded library state. eg, load a single scene we know the name of: with bpy.data.libraries.load(filepath) as (data_from, data_to): data_to.scenes = ["Scene"] eg, load all scenes: with bpy.data.libraries.load(filepath) as (data_from, data_to): data_to.scenes = data_from.scenes eg, load all objects starting with 'A' with bpy.data.libraries.load(filepath) as (data_from, data_to): data_to.objects = [name for name in data_from.objects if name.startswith("A")] As you can see gives 2 objects like 'bpy.data', but containing lists of strings which can be moved from one into another.
2011-03-12py/rna: BPy_reports_to_error() now takes the exception type as an argument ↵Campbell Barton
and returns -1 as an error value
2011-03-12pass report list along to BLO_blendhandle_from_file(), avoid unlikely crash ↵Campbell Barton
in the append operator.
2011-03-12More on bug #26432Ton Roosendaal
More undo-push disabling for switching render slots. Also added 'undo push' print in debug mode (blender -d)
2011-03-12- BKE_idcode_iter_step() - function to step over all ID codes.Campbell Barton
- BLO_blendhandle_get_datablock_names() now takes an arg for the total items in the list, saves the caller counting.
2011-03-12py/rna, ability to have python static methods in collections.Campbell Barton
2011-03-12tag/comment unused variables.Campbell Barton
2011-03-12Bugreport #26464Ton Roosendaal
Added more clear tooltip to render as B&W file option. This only works now for PNG, JPEG, TGA and TIFF
2011-03-12Fix uvedit unwrap tool not taking selection into account.Brecht Van Lommel
2011-03-12Completely refactored sph fluid particles. Only the very core of the ↵Janne Karhu
algorithm remains the same, but big changes have happened both on the outside and on the inside. New UI: * The old parameters were quite true to the underlying algorithm, but were quite obscure from a users point of view. Now there are only a few intuitive basic parameters that define the basic fluid behavior. ** By default particle size is now used to determine the interaction radius, rest density and spring rest lengths so that it's easy to get stable simulations by simply emitting particles for a few frames and adjusting the particle size (easy when the particle size is drawn) so that the fluid appears continuous (particles are touching eachother). ** Stiffness - in reality most fluids are very incompressible, but this is a very hard problem to solve with particle based fluid simulation so some compromises have to be made. So the bigger the stiffness parameter is the less the fluid will compress under stress, but the more substeps are needed for stable simulation. ** Viscosity - how much internal friction there is in the fluid. Large viscosities also smooth out instabilities, so less viscous fluids again need more substeps to remain stable. ** Buoancy - with high buoancy low pressure areas inside the fluid start to rise against gravity, and high pressure areas start to come down. * In addition to these basic parameters there are separate advanced parameters that can either be tweaked relative to the basic parameters (or particle size) or defined independently. ** Repulsion - the stiffness parameter tries to keep the fluid density constant, but this can lead to small clumps of particles, so the repulsion keeps the particles better separated. ** Stiff viscosity - the normal viscosity only applies when particles are moving closer to eachother to allow free flowing fluids. Stiff viscosity also applies smoothing to particles that are moving away from eachother. ** Interaction radius - by default this is 4 * particle size. ** Rest density - by default this is a density that the particles have when they're packed densely next to eachother. ** Spring rest length - by default this is 2 * particle size. * There are also new options for 3d view particle coloring in the display panel to show particle velocity and acceleration. These make it easier to see what's happening in the fluid simulations, but can of course be used with other particles as well. * Viscoelastic springs have some new options too. The plasticity can now be set to much higher values for instant deletion of springs as the elastic limit is exeeded. In addition to that there is an option to only create springs for a certain number of frames when a particle is born. These options give new possibilities for breaking viscoelastic fluids. New in the code: * Most of the fluids code is now thread safe, so when particle dynamics go threaded there will be a nice speed boost to fluids as well. * Fluids now use a bvh-tree instead of a kd-tree for the neighbor lookups. The bvh-tree implementation makes the code quite a bit cleaner and should also give a slight speed boost to the simulation too. * Previously only force fields were calculated with the different integration methods, but now the fluid calculations are also done using the selected integration method, so there are again more choices in effecting simulation accuracy and stability. This change also included a nice cleanup of the whole particle integration code. As the internals are pretty stirred up old particle fluid simulations will probably not work correctly straight away, but with some tweaking the same level of control is still available by not using the "relative versions" of the advanced parameters (by default these are not used when loading old files).
2011-03-12== Sculpt ==Nicholas Bishop
* Removed some fields from struct SculptSession: - Fields drawobject, projverts, and previous_r were completely unused - Field `ob' was really unnecessary, changed sculpt functions to pass the object rather than the SculptSession This removal of `ob' from SculptSession should should make it a little easier to continue generalizing paint/sculpt functionality. There should be no visible changes from cleanup.
2011-03-12Bugfix [#26222] Alt-O (smooth) in Graph editor destroys fcurve handleJoshua Leung
type and data Recoded Keyframe Smoothing operator to work better for continuous curves (i.e. ones with monotonically increasing slopes in sections) as opposed to hypothetically jagged ones. The old method assumed that handles should be flat as otherwise, you'd often get unsmooth curves just because you went and tilted some of the handles for local extrema, causing some unkeyframed overshoots, which also leads to changes in timing, which in turn often means unsmooth motion. Hence, the code took advantage of this to do things with less extra data. However, now we have a proper "flatten handles" tool (under snap -> horizontal) so this functionality is not needed in the general case where it will lead to stair-stepping artifacts.
2011-03-12Fix #25931: strand render + ray traced AO give tile image. The random numbersBrecht Van Lommel
for sampling were not consistent, now the RNG is seeded per strand, and some tweaks were done to make the jittered sampler cache return consistent sample numbers for strands.
2011-03-12Fix #26035: fix crash building raytree with inf/nan values in raytree. There'sBrecht Van Lommel
many different checks here, but I couldn't handle all cases in fewer lines.
2011-03-12Fix #26203: crash with empty raytree, all types should survive this now.Brecht Van Lommel
Also added a check for -inf/inf bounding boxes, just to be sure.
2011-03-12Fix #25654: strand render with instanced objects was not working right,Brecht Van Lommel
some coordinates didn't have the instance matrix applied, while others had it applied twice.
2011-03-11Bugfix, irc report:Ton Roosendaal
Pressing ESC on material icon preview changes made it stop updating the icons. Was caused by default 'break' callback testing ESC and not resetting it. Now it uses same break callback as other previews.
2011-03-11Bugfix #26444Ton Roosendaal
Double click in File Window also loaded a file on double-click at a directory. The operator for it was using a Macro mistakingly here. On any double click, it selected the item first and then executed load. By default, any double click action has to rely on the first click being properly handled before. Simply removing this macro, and assign the "exec operator" to the double-click event works as expected. A double click on a directory then just shows the dir (because the exec requires an 'active' file item).
2011-03-11move do_version code under latest subversion bump.Campbell Barton
2011-03-11(no commit message)Ervin Weber
2011-03-11fix [#26448] Solidify Modifier makes mesh texture missing in OpenGL renderCampbell Barton
2011-03-11Bugfix [#26167] Animating inside group nodes behaves strangelyJoshua Leung
One node update call (for nodes within group nodetrees) was using the wrong nodetree (node-editor's nodetree, not the group) which meant that the wrong RNA context for such nodes would get used, resulting in errors when trying to keyframe such nodes. Hopefully this is the last time I have to fix these bugs...
2011-03-11bugfix [#26454] WITH_PYTHON_SAFETY crash.Campbell Barton
2011-03-11Better progress info for physics baking:Janne Karhu
* Using the job system for physics baking is not yet in the near future, so here's some good old console based progress info to all point cache based physics baking. * The info contains current total bake time, baking time for the current frame, and a simple estimate of completion time. * The info is only shown if the estimated total time for the bake is higher than one minute, so quick bakes don't suffer any performance hits due to console printing.
2011-03-11simplify BLI_path_abs by using BLI_cleanup_pathCampbell Barton
2011-03-11fix [#26451] Little problem when selecting relative output pathCampbell Barton
BLI_path_rel() no longer strips trailing slashes.
2011-03-11Bugfix [#26438] : While grabing a marker with G, cancelling with EscJoshua Leung
does exit cancelling the translation (as expected), while RMB doesn't, it works same as LMB This should fix the remaining issues with marker tweak-grab mappings (hardcoded for right-mouse for now)
2011-03-11fix [#26452] Problem with key properties when OnlySelectedCurveKeyframes ↵Campbell Barton
option enabled.
2011-03-11Bugfix [#26438]: Hotkey conflict between add meta-strip and add markerJoshua Leung
The sequencer made it's own copy of the Markers keymap, which was inconsistent with the rest of Blender, making things confusing to use. I've removed these duplicate keymap entries, and also changed the conflicting hotkeys for Metastrips. Metastrips now use the same hotkeys that their NLA cousins use: Shift-G to add, Alt-G to remove; These were chosen since in user- terms, metastrips are more like "strip groups"
2011-03-11fix [#26436] Operator.draw(): UI redraw; UI trimmedCampbell Barton
2011-03-10Bugfix #26443Ton Roosendaal
Node compositor crash: When you very quickly unlink a socket *right* after connecting it (within 0.1 second), the compositor started with a noodle without valid connections, which was not foreseen to happen.
2011-03-10Bugfix #26424Ton Roosendaal
More problems with Undo and Render Slots (Image editor) - Undo storage for operator is now back, but only when new buffers were added (not when viewing existing) - A real bug: On undo/redo, the stored buffers were never retrieved, but always freed entirely. Note however that when you undo back to a state before you rendered (or added slots), the render buffers that didn't exist back then also get freed. A redo doesn't bring it back.
2011-03-10Todo: Ton Roosendaal
Fixed name and tooltip for new "render output" option. It does draw output, but just doesn't change your UI layout.
2011-03-10fix [#26442] blender crash when turning off antialiasing fontsCampbell Barton
ASCII lookup table wasn't being freed when when the rest of the glyphs were. Also found own bug where mesh stat text was using wrong sized array (char[3] as char[4]).
2011-03-10Bugfix #26442Ton Roosendaal
Very bad crashing in using "Not AA fonts" and drawing length info on EditMesh. This uses the call BLF_draw_ascii() which apparently corruptes then badly. Disabled the call for now, and wait for fix. In the course of testing, added proper strlen storage for draw in this code. Added strlen
2011-03-10Fix for [#26441] Child Hair CrashJanne Karhu
* Silly mistakes in my last particle distribution code commit.
2011-03-10Bugfix irc report:Ton Roosendaal
With draw method "Overlap", the preview line for menu "Split area" was not correctly visible.
2011-03-10Bugfix #26437Ton Roosendaal
- Tooltip-hanging fix made the 'active' button be removed when mouse enters another subwindow. Caused by commit of a week ago. - Reverted the eventsystem change that sets 'active subwindow' before it calls modal handlers. This made editors become active on using menus, buttons, or other modal ops. Side effect is that for transform operators called via toolbar, the overlay-extra draw with helplines now gets skipped. Will check on good ways for it.
2011-03-10fix [#26406] Projection Paint, Occlussion Problem with Intersections in ↵Campbell Barton
perspective mode.
2011-03-10also enable edge-seam unwrapping when running the mark_seam operator.Campbell Barton
2011-03-10request from Jedrzej Slewczuk's:Campbell Barton
Option for tagging creases (Ctrl+RMB) to also re-unwrap the mesh. In 2.42 this could be done by setting rt==8 (very hidden), now its a little less hidden (in the toolbar).
2011-03-10revert r35438, Martin doesn't like having this option tacked on.Campbell Barton
2011-03-10add option requested [#25598] projection surface snap issueCampbell Barton
for retopo workflow you don't wan't to project the mesh onto its self, added option not to.
2011-03-10Apply [#26364] New Windows keyboard handlingNathan Letwory
Submitted by Alexander Kuznetsov Fixes [#25279] Shift-Numpad Combinations fail to align view to selected and addresses [#26328] Blender uses global keyboard message hook which hurts system responsiveness on Windows A whole new way of handling keyboard input improves greatly both code readability and event handling. Thanks for the great patch, Alexander!
2011-03-09From the todo:Ton Roosendaal
Hanging Tooltips solved! It appeared to be that an active button remained in that state when another region/editor became active. It then kept the button-activate state, and therefore also the optional tooltip. This only happened on fast moves, when a mousemove event was not passed on anymore to the previously active subwindow. It has been solved with a new notifier (SWINACTIVE), which gets sent on new active regions. The screen listener then calls uiFreeActiveButtons() to find out if buttons were still active somewhere else.
2011-03-09From the OFTL: Pad-period refreshes File browser.Ton Roosendaal
2011-03-09Todo item: defaulting newly created Property editors to vertical.Ton Roosendaal
(At least until horizontal layouts work acceptable)
2011-03-09Fix for [#26420] F-Curve key handles affected by NLA strip positionJanne Karhu
* NLA timing was only applied to fcurve keys, but not handles, so strange things happened. * This time tweaking was missed in selections too, so fcurve handles couldn't be selected properly either if the NLA strip was moved from frame 1.
2011-03-09Fix for [#26372] Objects as PS Hair displays and renders differentlyJanne Karhu
* Grid distribution isn't really suited for hair, so this is now disabled. * Setting a jittered distribution with particles/face = 1 now creates particles on the center of faces. * Quite a bit of cleanup of the whole particle distribution code.