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-25fix [#26601] Python error when use of autocompleteCampbell Barton
Was a naming collision with 'keys' python method, reserve keys/items/values/get for python. Updated animsys_update.py for shapekey data paths. renamed: Particle.hair --> hair_keys Particle.keys --> particle_keys Key.keys --> key_blocks EnumProperty.items --> enum_items KeyMap.items --> keymap_items noted: http://wiki.blender.org/index.php/Dev:2.5/Py/API/Updates#Since_2.56a
2011-03-25fix for incorrect prints with RNA errors (own fault, CONTAINER_RNA_ID was ↵Campbell Barton
incorrect) & close keymap file after running.
2011-03-24Bugfix 26578Ton Roosendaal
"Warp" texture map option didnt work for new bump methods yet. Also fixed to not grey out bump menu for this mapping option.
2011-03-24UI clarification: "local coordinates" option for fluid inflow objects ↵Janne Karhu
doesn't have any effect when "export animated mesh" is selected * Grayed out the "local coordinates" option in this case to avoid confusion.
2011-03-24fix [#26545] Crash when changing values for properties after changing max-minCampbell Barton
tried doing this smarter by validating the property exists in UI code before access but this ended up making it too complicated and also hard to account for possible access without checking every time. for now just redraw all areas when a user property is changed.
2011-03-24Pose Menu Tweak: Moved keyframe management items into sub-menu like inJoshua Leung
Object menu
2011-03-24Animation Tool: Propagate PoseJoshua Leung
This tool automates the process of copying a pose to successive keyframes, making it easier for animators to go back and change the pose for some controls which remain "static" for periods of time. Previously, animators would need to do a "{Ctrl-Pageup Ctrl-V} * number_of_static_keyframes" dance for each set of controls that this happened on, which is not too good ergonomically speaking. There are two modes exposed via the menu (Pose->Propagate): - "Pose Propagate" - also known as the 'WHILE_HELD' mode, which propagates to all keyframes that are holding the same value - "To Next Keyframe" - which only propagates the pose to the closest keyframe in the occurring after (but not including) the current frame Additionally, there are a few other modes that can be used, though they are less useful for direct use from the UI, though they can be used via the PyAPI as need be. --- Also, I did some cleanups in the "Pose" menu to bring it more into line with the Object mode one. There are some more tweaks that could still be done here, such as bringing the keyframing operator entries under a submenu too (as in the Object mode version) to get the length of this under control.
2011-03-23missed committing this beforeCampbell Barton
2011-03-23tweaks not to load webbrowser or math modules on startup.Campbell Barton
2011-03-23Bugfix:Joshua Leung
NLA Header was broken by recent Py UI-script changes
2011-03-22properties were being used with wrong type functions, this resulted in bad ↵Campbell Barton
memory access when getting int from an enum.
2011-03-22allow system info operator in background mode.Campbell Barton
2011-03-22poll functions were for keymap operators were still raising errors in some ↵Campbell Barton
cases. remove unused script dirs.
2011-03-22fix [#25688] undocumted functions in pyapiCampbell Barton
expose collection function docs.
2011-03-22Moving netrender to addonsMartin Poirier
2011-03-22py/api registration:Campbell Barton
move calls to the classes register/unregister function into register_class() / unregister_class() and add docs. also other minor changes: - remove face sorting keybinding, was Ctrl+Alt+F, this is quite and obscure feature and face order normally doesn't matter, so access from Face menu is enough. - add commented out call to mesh.validate() in addon template since its useful to correct incomplete meshes during development.
2011-03-22fix [#26385] operator edit_properties return errorCampbell Barton
2011-03-22fix for error printing class register error, remove an unneeded check.Campbell Barton
2011-03-21pedantic edit, no need to initialize var.Campbell Barton
2011-03-21move script directories for internal blender scripts.Campbell Barton
ui/ --> startup/bl_ui op/ --> startup/bl_operators scripts/startup/ is now the only auto-loading script dir which gives some speedup for blender loading too. ~/.blender/2.56/scripts/startup works for auto-loading scripts too.
2011-03-21Changed the particle physics "timetweak" value to a more descriptive ↵Janne Karhu
"timestep" value, which is in seconds. * Done purely in rna, internally particles still use the timetweak value.
2011-03-21patch from Martin, call classes register/unregister functions.Campbell Barton
Modified to only do one lookup. from Martin: "Basically, what it does is allow you to add register and unregister class methods to rna types, this way you don't have to rely on module register/unregister methods to setup your types properly (and it makes them easier to move around when reorganizing code and easier to understand what a type does when reading code). This is especially nice for PropertyGroup classes that are added as properties to existing types, you can easily see in their register methods where they are added and removed in their unregister method. Obviously, those two methods are optional, so current code still works fine."
2011-03-20Added "Bake Sound to F-Curve" operator to the "Key" menu in the graph editor.Joerg Mueller
2011-03-18hide addon_utils in bpy.utils & tag/remove unused vars in recent commits.Campbell Barton
2011-03-18fix [#26510] Crash when changing an object's property valueCampbell Barton
2011-03-17Bugfix [#26505] zoom in selected keys on graph editorJoshua Leung
Not really a "bug", but it was on my todo anyways. Based on patch [#26508] by Campbell, with a few modifications including extending this to the Action/DopeSheet editor too.
2011-03-17== filebrowser ==Andrea Weikert
People had trouble finding the 'Create New Directory' operator button in the file browser. Changed this to show the text as well and make button bigger.
2011-03-16Fix for [#26520] Point Density turbulence not accessible in Texture Properties.Janne Karhu
* Mistake in the ui file. * Also found a possible memory leak.
2011-03-15"Fix" #26445: edit mode vertex distortionSergey Sharybin
Discussed with Campbell, it's not actually bug and it's more about limitation of topology mirror. It will work properly when both sides of mesh have matching unique topology. Added note to tooltip, so now unpredictable behaviour shouldn't confuse users so much. Also gray out "Topology mirror" when "X Mirror" is disabled.
2011-03-15fix [#26503] Copy Mirrored UV coords exceptionCampbell Barton
2011-03-15pep8 edits and remove commented code from last commit.Campbell Barton
2011-03-15fix/disallow [#26502] segmentationfault on pressing button to browse ↵Campbell Barton
existing images for UV window creating RNA within draw functions can free existing RNA, crashing blender when this is already used in the UI. disallowing this so it raises a python exception. This was being used to dynamically generate addon categories so for now they are hard coded and we need proper enum-functions for python to do this.
2011-03-14bpy.types.libraries.load sphinx doc & examples (doc system needed some updates).Campbell Barton
http://www.blender.org/documentation/blender_python_api_2_56_3/bpy.types.BlendDataLibraries.html#bpy.types.BlendDataLibraries.load
2011-03-14auto-complete was moving the selection.Campbell Barton
2011-03-14RNA API RenameCampbell Barton
'create' was used as prefix and suffix, change dupli list functions to use as suffix, this matches obj.animation_data_create() & obj.animation_data_clear(). obj.create_dupli_list() --> obj.dupli_list_create() obj.free_dupli_list() --> obj.dupli_list_clear() Don't use 'create' for object to mesh function since other uses of this are for createing data which stays attached, instead use mathutils style naming convention. obj.create_mesh() --> obj.to_mesh()
2011-03-13* Small code cleanup/removalThomas Dinges
2011-03-13- lightmap pack wasnt reporting no mesh errors properly.Campbell Barton
- cleanup headers. - cmake on *nix was always writing to /bin/./2.56
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-122.5 Fluid UI Python Script:Thomas Dinges
* Code cleanup, no UI changes, reduced code from 1244 lines to 1228 lines.
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-11Fix for [#26457] Physics Size attribute affects hair particle DupliObjects ↵Janne Karhu
while hidden * Forgotten settings for the "simple hair" ui.
2011-03-11(no commit message)Ervin Weber
2011-03-11when checking for windows check sys.platform starts with "win" rather then ↵Campbell Barton
'== "win32"' & avoid importing platform. also add some notes to CMake options.
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-09make python UV functions use a popup UI rather then redo UI, they are not ↵Campbell Barton
fast enough.
2011-03-09py/ui: ensure extensions which add draw functions for menus/headers/panels ↵Campbell Barton
always get the default operator context, not the one that was last set.
2011-03-09lightmap pack: made into an operator & added to UV calc menuCampbell Barton