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-08-30fix for some warnings with the recent merge, also tag unused args.Campbell Barton
2011-08-30* Merge trunk up to r39790.soc-2011-pepperJoerg Mueller
* Subversion bump (also for init_userdef_do_versions). * Minor fix for compilation without ffmpeg.
2011-08-29Fix #28347: VBO's highlights wrong faces when Mirror modifier is in useSergey Sharybin
Added callback to drawMappedFaces which checks if two faces have got equal draw options. After discussion with Brecht we found it's nicest solution for now: - Disabling VBOs in edit mode for this case wouldn't be nicer for this case - some additional flag stored in DM should be added in this case. - Adding new callback in DM isn't nicer that this solution. - Handling face selection in drawobject would lead to duplicated code which is also not nice. Hopefully, this callback could handle all cases in the future. Also, Brecht mentioned current VBO implementation isn't perfect, so maybe when we'll redesign this area dealing with edit mode wouldn't be so tricky.
2011-08-25picky style edits with screen/view/drawing, also remove own bad example doc.Campbell Barton
2011-08-25Committing patch #25675 "Make "Cast Buffer Shadows" option work in viewport ↵Mitchell Stokes
and BGE" by me. Description from the tracker: "It's really handy to be able to prevent an object/material from casting a shadow. So, I made use of the Cast Buffer Shadows option in the material settings, and made it work in the viewport and the BGE."
2011-08-23Merging trunk up to r39637.Joerg Mueller
2011-08-18misc changes to unterface & undoCampbell Barton
- operator strings were doing undo pushes (in fileselector text for example), this is dumb since the operators themselves handle undo. - interface code checks rna props are arrays rather then checking the array length. - disable properties window pin undoing. - sequencer refresh was calling undo, disable since this is clearnign global data not handled by undo. - added commented out code for drawing mesh vertex index/key index, useful for debugging shapekey - hook issyes.
2011-08-16Merging trunk up to r39447.Joerg Mueller
2011-08-16minor fix, armature selection outline was not being drawn for non-active, ↵Campbell Barton
selected armature object when they were in pose mode.
2011-08-11svn merge -r39145:39286 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-08-10fix [#28206] Motion Paths shown in 3DView even when Only Render option is ↵Campbell Barton
enabled
2011-08-013D Audio GSoC:Joerg Mueller
Adds new speaker object type. Notes: * Needs some nice icons * Quickily review by Joshua Leung (5 mins) * Properties UI updated (with help of Thomans Dinges) * Speakers have their own theme color * No real audio functionality yet. * Minor bug regarding lamps/lattices fixed in interface_templates.c I personality tested: * Creation, Deletion, Duplication * Saving, Loading * Library linking (incl. make local) * Tracking * Dope Sheet, Outliner * Animation * Drawing (incl. Theme)
2011-07-21fix [#28037] Missing orange selection lines (trivial)Campbell Barton
From what I can tell there is no good fix for this bug, calculating the 2d/3d viewborder and then attempting to align them to be pixel perfect fails because of float imprecision. Added a workaround, so the camera border is always drawn in 2d space, since this workaround may cause problems later on its kept under the define VIEW3D_CAMERA_BORDER_HACK so we can get old behavior back easily.
2011-06-23More flexible size options for particle billboards. This adds scale factors ↵Lukas Toenne
for width and height of billboards, relative to the particle size. It's useful when the particle size is primarily used for collision and the like, so the billboard appearance can be adjusted independently. Also allows non-square billboards. In addition the billboards can be scaled by the particle velocity with optional head and tail factors (similar to line drawing options). This allows for pseudo-motionblur effects.
2011-06-17fix for drawing bones names twice in object with viewport 'Outline' option ↵Campbell Barton
enabled.
2011-06-15Code cleanup: remove unused shaded draw mode code.Brecht Van Lommel
2011-06-09[#27615] Box select of mesh object disabled or translated due to curve objectCampbell Barton
ED_view3d_init_mats_rv3d was calling glMultMatrixf() which was mostly harmless but could also lead to confusing bugs (2 reported previously). Looked into this and every call to ED_view3d_init_mats_rv3d except for object drawing, doesn't need this so made a second version of ED_view3d_init_mats_rv3d - ED_view3d_init_mats_rv3d_gl which does the matrix multiplication, remove confusing checks in selection code.
2011-05-28fixed "rather then" -> "rather than" typos all over the placeM.G. Kishalmi
2011-05-24remove some warnings and possible use of un-initialized vars.Campbell Barton
2011-05-21view3d function naming, no functional changes.Campbell Barton
2011-05-12for bug [#27358] Transform bug when transform > 500Campbell Barton
mouse coords would with cont. grab would wrap at short. use mouse coords as int rather then short. this problem still happens on linux because of XTranslateCoordinates
2011-05-09patch [#21740] Image support for Empty ObjectsCampbell Barton
from Andy Braham (andybraham) This adds support for empties to reference images and draw in the 3D view. Modifications from the original patch. - use an empty draw 'image' type - use image aspect ratio for non-square-pixels - when the image is not found, still draw the frame.
2011-05-02Potential fix for #27257: menus disappear particle edit mode wireframe draw.Brecht Van Lommel
Depth test got re-enabled without check if it was necessary.
2011-04-05fix for render only drawing wire curves in wire view.Campbell Barton
2011-04-05fix [#26785] Curve shows in 3dview regardless of "Only Render"Campbell Barton
2011-03-27view3d / object drawing: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats.
2011-03-19remove some redundant vars, assignments & checks.Campbell Barton
2011-03-14patch [#26495] Adjustable outline width for selected objectsCampbell Barton
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-03use NULL instead of 0 for pointers, (editors)Campbell Barton
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-17clear some unused warningsCampbell 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-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-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-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-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-05Todo item: linked curve objects behaves incorrect with modifiersSergey Sharybin
Use object's displists for storing deformed tesselated curve. Was unable to totally get rid of curve's displist because of how texture space is calculating.
2011-01-03dont draw lamp volume when its being used as the view camera, would flicker ↵Campbell Barton
annoyingly when flying the lamp about to position it.
2010-12-23Bugfix #25341Ton Roosendaal
Child-of constraint issue: on adding, it wasn't checking owner correctly for Bones, resulting in a constraint working in wrong space; it looked as if transform was applied double when moving the object. Only adding via Py API went wrong btw. Also found a silly check for drawing constraints, which caused constraint initialization to happen for every object on every redraw! Implementation note: con->flag CONSTRAINT_SPACEONCE was only used for child-of constraints in Bones, so I've patched it on file reading to always set the flag. Marked with XXX, so it can be removed one day. Now at least things get corrected well for imported armatures.
2010-12-23remove View3D.customdata_mask, since its stored in the scene now there is no ↵Campbell Barton
need for each view to store every views combine data mask.
2010-12-20fix [#25283] Edge length display difficult to readCampbell Barton
- made theme colors for mesh edge len & face angle/area display. - use %g rather then %f for float display, trims unneeded zeros. - store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context. - use unsigned char for more color functions, avoids casting to glColorubv().