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
2012-03-01Spelling CleanupCampbell Barton
2012-02-25code cleanup: white space, spelling & ';;' end of lines.Campbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-01-11Longer names support for all ID and other object namesSergey Sharybin
This commit extends limit of ID and objects to 64 (it means 63 meaning characters and 1 for zero-terminator). CustomData layers names are also extended. Changed DNA structures and all places where length constants were hardcoded. All names which are "generating" from ID block should be limited by MAX_ID_NAME-2, all non-id names now has got own define called MAX_NAME which should be used all over for non-id names to make further name migration stuff easier. All name fields in DNA now have comment with constant which corresponds to hardcoded numeric value which should make it easier to further update this limits or even switch to non-hardcoded values in DNA. Special thanks to Campbell who helped figuring out some issues and helped a lot in finding all cases where hardcoded valued were still used in code. Both of forwards and backwards compatibility is stored with blender versions newer than January 5, 2011. Older versions had issue with placing null-terminator to DNA strings on file load which will lead to some unpredictable behavior or even crashes.
2011-12-30minor dna header cleanupCampbell Barton
2011-12-24replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.Campbell Barton
2011-12-24change customdata mask from an 'unsigned int' to an 'u_int64_t', since BMesh ↵Campbell Barton
branch has run out of bits
2011-12-07fix for noise module in driver namespace (was infact mathutils).Campbell Barton
2011-12-05syncing some minor formatting edits from bmesh branch.Campbell Barton
2011-12-04add define for deprecated DNA struct members: DNA_DEPRECATED,Campbell Barton
this means use of deprecated struct members gives a warning. - makesdna.c preprocessor skips this. - DNA_DEPRECATED_ALLOW is used so readfile.c can do versioning without warnings. - this exposes some use of deprecated struct members, will deal with this after.
2011-12-04add a new object member to store the dsize, since with my recent commit ↵Campbell Barton
broke forward compatibility. now the new values are copied into 'dscale' and existing ones remain. this is annoying since now we have dsize and dscale, will look into a way to deprecate struct members next.
2011-11-06As discussed on the mailing list, removing the non-functional,Joshua Leung
incompatible, and unmaintainable Time Offset cruft. - Slow Parenting lives another day (just), although it now carries appropriate cautionary disclaimers. It's only really for the Game Engine nowadays, as that's the only place where it can possibly work with any reliability. - "Animation Hacks" panel is now "Relations Extras". I could've merged the two panels, though I figured these options weren't that frequently used to justify taking up screen-space by default along with the panel
2011-11-05more DNA object editsCampbell Barton
- remove 'path' pointer, wasnt used anywhere. - remove comments about what each game flag 'bit' does, these are defines now. - reduce the size of DupliObject 8 bytes. also commented some of the struct members.
2011-11-05- view bounds (now split from collision bounds) was still being used for bge ↵Campbell Barton
physics in one place, comparison was incorrectly treating it as a flag too. - cleanup Object struct - remove pad and unused flags, convert some shot's to char's, saving 24 bytes.
2011-11-04Fix #28865: Draw_bounds_type does not display Polyhedron or Capsule typesSergey Sharybin
Separate DNA properties for bounding box used for bounding box display in 3d viewport and bounding box used for collision detection in game engine. Bumped subversion for proper updating old files to new system, but it need more complex testing.
2011-11-02RenderEngine api: support for viewport rendering, details here:Brecht Van Lommel
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/RenderEngineAPI * This adds a Rendered draw type in the 3D view, only available when the render engine implements the view_draw callback. * 3D view now stores a pointer to a RenderEngine. * view_draw() callback will do OpenGL drawing instead of the viewport. * view_update() callback is called after depsgraph updates.
2011-11-01macro to check if an object type supports vgroupsCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-14rename confusing constants (no functional change)Campbell Barton
- OB_BOUND_POLYT --> OB_BOUND_CONVEX_HULL - OB_BOUND_POLYH --> OB_BOUND_TRIANGLE_MESH
2011-10-03add macro OB_TYPE_SUPPORT_MATERIAL, type checks were being done inline, some ↵Campbell Barton
comparing range, some using ELEM#(), once was missing metaball check.
2011-09-18Split do_weight_paint_vertex() to isolate the simple case.Jason Hays
Added a tool-tip to the "fix deforms" op. Removed code markers: "Radish"
2011-09-18Changed the branch code markers to say "Radish" in response to a review.Jason Hays
They weren't & aren't meant to show ownership, they just help me navigate my related code.
2011-09-14- use a flag define for bDeformGroup->flag rather than setting TRUE/FALSECampbell Barton
- rename RNA bDeformGroup.flag to "lock_weight"
2011-09-13svn merge -r40000:40179 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-09-13svn merge -r39558:39800 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-09-07svn merge -r 37306:39975 ↵Benoit Bolsee
https://svn.blender.org/svnroot/bf-blender/trunk/blender
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-06-27Merged from trunk with revision range 36835-37865,Jason Hays
(No conflicts had to be manually resolved) Gave weight paint a basic ability to draw edges and vertices with an option (with colors for selected/unselected), but I didn't make any vertex selection functions available in weight paint mode yet (tested with edit mode for now).
2011-06-15Code cleanup: remove reference to workob global that no longer exists.Brecht Van Lommel
2011-06-15Fix #27654: vertex parenting not working with constructive modifiers.Brecht Van Lommel
Vertex parents were not requesting the original index layer, now do this as part of depsgraph building, and make constraints with vertex groups use the same system. Fix is based on patch by Campbell, but with some changes.
2011-06-05synched with trunk at revision 37212Nick Samarin
2011-05-27(no commit message)Jason Hays
2011-05-17synched with trunk at revision 36569Nick Samarin
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-02-28Bug fix: Render and 3d view conflict over ob->imatJanne Karhu
* For rendering every object's inverse matrix "ob->imat" needs to be in render view coordinates, but for drawing in 3d view it needs to be in global coordinates. Originally (way back in historical times) ob->imat was only used for rendering, but over the years other uses came up too. Before 2.5 this wasn't a problem as rendering was a totally blocking operation, but with the new "interactive ui while rendering" the problems started. Basically any update that redrew the 3d view while rendering (like rotating the scene with mouse) updated the inverse matrix into global coordinates thus invalidating it for the render, leading to all kinds of strange discontinuities with textures and volumetrics. * Problems were very easy to achieve using orco/object coordinates for pretty much any textures (bump, point density, volume, sky), for examples see bug reports 24906 and 25229. Render baking normals in object coordinates was wrong most of the time too. * Now there is a separate inverse matrix ob->imat_ren that's calculated at the beginning of rendering and is used in all places inside render code where it's needed. This way the original ob->imat can change at will during rendering without causing problems.
2011-02-17DNA header files are now grouped under the same module. No further ↵Nathan Letwory
documentation done.
2011-02-16synched with trunk at revision 34793Nick Samarin
2011-01-17remove/comment unused defines, also zero FileGlobal.filename to quiet valgrind.Campbell Barton
2011-01-15remove/comment unused defines.Campbell Barton
2011-01-05Todo item:Ton Roosendaal
Object color option now is incorporated in preview render, and in display in 3D window. Note that Object-color is "modulating" the render result, it just multiplies... which is very limited for practical use. This was added for Apricot game project. The original meaning however was to replace diffuse only... so specular and light work still correct. ALso made header for properties editor start on top, to reflect default (report in tracker).
2010-12-17no functional change: only check against OB_RECALC_ALL but don't use for ↵Campbell Barton
assignment. Makes adding new flags give ambiguous results and also makes it less easy to tell whats intended. In some places it looks like OB_RECALC_TIME should be left out too.
2010-11-04workaround [#24392] 2d Image paint editor: no clone/smear/soften tools etcCampbell Barton
the brush system matches the brush mode with the object mode, but this doesn't work for 2D image view paint. since the poll() function doesnt have access to the context, for now just check if no paint modes are active, default to texture paint.
2010-10-03synched with trunk at revision 32129Nick Samarin
2010-08-29BGE patch #22623 applied: new bound type: Capsule.Benoit Bolsee
2010-08-05synched with trunk at revision 31065Nick Samarin
2010-08-04include cleanup, no functional changesCampbell Barton
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases) - removed DNA_wave_types.h (never used) - removed Main.wave
2010-07-22synched with trunk at revision 30597Nick Samarin
2010-07-17- added text3d.body_format to be able to set bold/italic/smallcaps etc on text.Campbell Barton
- the length of a new text object wasnt set on creation. - tex3d and controllers rna name was being set to its body (rather then ID name) - remove reference to wave objects which are very old and not used anymore.
2010-07-14synched with trunk at revision 30243Nick Samarin
2010-07-05Bugfix #22685: Screen update slow, animation player ALT-A, files created ↵Joshua Leung
with 2.4x Modifiers were being mistakenly recalculated at every frame as long as the object had animation, slowing things down due to incorrect depsgraph recalc tags. Renamed OB_RECALC -> OB_RECALC_ALL to reduce future confusion. During this process, I noticed a few dubious usages of OB_RECALC, so it's best to use this commit as a guide of places to check on. Apart from the place responsible for this bug, I haven't changed any OB_RECALC -> OB_RECALC_OB/DATA in case that introduces more unforseen bugs now, making it more difficult to track the problems later (rename + value change can be confusing to identify the genuine typos).