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-14patch [#26495] Adjustable outline width for selected objectsCampbell Barton
2011-03-13[#26482] Solidify / Animation Opengl render. no texture.Campbell Barton
workaround for view3d datamask not being correct on opengl render.
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-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-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-08fix bug [#26315] Background and 3D view mistakes Campbell Barton
The bug is caused by a fix for [#22111], commits r29356, r28545. exiting localview would set the rv3d->view but use the original rv3d->viewquat.
2011-03-08needed removing here tooCampbell Barton
2011-03-07From the OFTL:Ton Roosendaal
Arrows-move-cursor is back! It now works for any running modal operator that doesn't handle own arrow keys. Might need to become more restricted though, some modal ops don't need it. Want to investigate that still where conflicts are.
2011-03-07bug [#26329] Project Paint not workingCampbell Barton
we cant ensure that a requested buffer can be allocated so report opengl errors when failing to allocate the buffer (rather then printing to console). this is common enough and generic error isn't too helpful to users.
2011-03-03use NULL instead of 0 for pointers, (editors)Campbell Barton
2011-03-02Tsk! glGetFloatv() gives alpha too for GL_CURRENT_COLOR, so a four long ↵Janne Karhu
vector is needed!
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27== UI icons ==Andrea Weikert
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-23add back view 1:1 operator from 2.4x (Shift+PadEnter)Campbell Barton
2011-02-22fix [#26172] Lattice vertice selection by border selection ( shortcut B ) ↵Campbell Barton
doesn't update vertice number ( in info header ) missing notifier.
2011-02-21Accidentally left in a print for commit 34912Ton Roosendaal
2011-02-21I swear, it was just an innocence change in guardedalloc!Nathan Letwory
The butterfly wing flap, causing a nice storm in the rest of blender. Now all dependencies should point ok again. CMakers, do double-test.
2011-02-18Bugfix 26131Ton Roosendaal
Option "Align view to selected" only aligned to the last activated item in editmode. This whilst code comment even said "use alignment from Manipulator in normal mode". Now it does what it's (apparently) meant to do, and what brazilians think it should! ;) It aligns to selected!
2011-02-18Clear some compiler warnings by commenting some functions, adding others to ↵Campbell Barton
headers. left in warnings where functions obviously need to get ported to 2.5x still. Also, render stamp seq strip works again.
2011-02-17clear some unused warningsCampbell Barton
2011-02-16Bugfix #26096Ton Roosendaal
Switching layers reveiled hidden objects in wrong positions, changes are currently not being handled for hidden objects. Only way to fix it is by completely update newly visible objects... (Also fixed a typo and a compile warning)
2011-02-15moving dir strings into global namespace for doc access (coming up)Campbell Barton
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-14misc small changes:Campbell Barton
- rename rna collection structs Main prefix to BlendData: eg, MainObjects --> BlendDataObjects - printing python collection now prints its type (when available) - renamed shadowed vars in bpy_rna.c. - when making functions static I also made debugging/test functions static, reverse and add definitions to headers instead.
2011-02-13many functions in blender are not marked static but should be.Campbell Barton
most local modifier,GPU,ImBuf and Interface functions are now static. also fixed an error were the fluid modifier definition and the header didnt have the same number of args.
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-12fix for more warnings.Campbell Barton
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array. - use BLI_snprintf rather then sprintf where the size of the string is known. - particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
2011-02-12- resource leak in pointcache, opendir without closedir()Campbell Barton
- reading pointcache was using an incorrect, always NULL variable. - commented NDof code, was giving warnings and isnt used now.
2011-02-05todo list item:Ton Roosendaal
3D View: In quad-view mode, the options to set back/bottom/left views were blocked. Now they work again. Note: the oparator polls don't have a check for properties... so it cannot be finegrained here. Checks are inside code.
2011-02-02fix [#25684] Grease pencil strokes with "Surface" option attach erratically ↵Campbell Barton
to curves. added new functions - view_autodist_depth_segment() - plot_line_v2v2i(), which takes a callback and plots x/y points.
2011-01-30remove nan-makefilesCampbell Barton
2011-01-21correct spellingCampbell Barton
2011-01-19Bugfix #25652Ton Roosendaal
Report was that move-to-layer menu failed. The real cause was more complex; had to dive deep in the dungeons of the interface code that handled undos and operators. Found several issues: - popup menus (like redo operator, color picker) executed again on a mouse-exit - far too many buttons were sending undo pushes; even worse, in the operator redo-panel each button action was pushed twice - in case operator redo-buttons have own callbacks (like layer buttons) the redo wasn't working - layerbutton menu was called without creating a proper undo/redo case Things should all work smoother now! On todo: - better definition and handling of all versions for operator menus (four types now, not fun) also: make operator "do" menu, which on first action does operator and then switches to redo-ing - bring back Undo menu, to list the undo stack and jump in it.
2011-01-18Bugfix, irc report: general view3d operator poll() was reading NULLTon Roosendaal
caused by commit for fix [#25691] 16 hours ago.
2011-01-18Bugfix [#25684b] Surface and Stroke options are not working with UseJoshua Leung
Sketching Sessions. Fix for secondary issue noted in this bug report. Some of the code for the fancy 3d view sketching options needed to be moved around so that there is a clearer "paint/sketch session" and "stroke" separation between various stages. There's still some more stuff that needs to be done here before I think it's totally cleaned up.
2011-01-18fix [#25694] Center View (Home Key)Campbell Barton
2011-01-18fix [#25691] Lasso select on 3D Text editing segfaultsCampbell Barton
poll function was incorrect.
2011-01-15remove/comment unused defines.Campbell Barton
2011-01-15Fix for [#25633] Particles display switching causes crash when Velocity disp. ONJanne Karhu
* Particle draw data wasn't freed properly in some cases. * Velocity + circle draw type also crashed due to missing null pointer check.
2011-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
2011-01-12Bugfix #25570Ton Roosendaal
The tool-redo depends on a working undo system, so it can rewind a step and then redo operator with new settings. When a user disables undo, this won't work. Now the properties for redo operator (toolbar, F6) will grey out when a redo isn't possible.
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-10comment/remove various unused vars,Campbell Barton
also make rna function for new images require width and hight args.
2011-01-09warning from clang, possible crash:Campbell Barton
'cd' could be NULL, all other particle draw types checked 'cd' except for PART_DRAW_AXIS, seems logical to have the check here too.
2011-01-09remove unused vars, comment some which look like they could be useful still. ↵Campbell Barton
have makesrna.c omit unused _data definitions for rna funcs with no args.
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-05remove ED_retopo.hCampbell Barton