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
path: root/source
AgeCommit message (Collapse)Author
2011-11-26A bunch of fixes and tweaks in RNA messages, found while translating them in ↵Bastien Montagne
french...
2011-11-26Fix for linking cycles group nodes in the sidebar menu (bug #29403). The ↵Lukas Toenne
template for ntreeAddNode needs not only the node group pointer but also the NODE_GROUP id for the base type.
2011-11-26pass args as vectors to opengl functions where possible.Campbell Barton
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-11-26minor edit - weight_to_rgb() and ramp_blend() now take a float vector rather ↵Campbell Barton
than 3 float pointers. also make particle draw use a float vec.
2011-11-26add null check, crashes py 3.3 which isn't released but adding the check is ↵Campbell Barton
harmless
2011-11-25Do not use transparent rendering in 3d viewport for objects which are in ↵Sergey Sharybin
edit mode Transparent rendering can't be implemented in way it gives accurate shading in 3d viewport. It's acceptable for object mode, but when you're in edit mode it gives more problems than benefits of seeing transparent faces. This is possible fix for for weird polygons in [#29255] Object invisible and weird polygons appearance
2011-11-25Image save as operator 'BW' option wasnt working on some formats, now only ↵Campbell Barton
show when its supported.
2011-11-25use enum for draw wire setting to be easier to read, no functional change.Campbell Barton
2011-11-25Merging Blenderplayer modifier fix (U.gameflags |= USER_DISABLE_VBO) from ↵Mitchell Stokes
Cucumber.
2011-11-25Fix part of #29310: secondary point caches for cloth did not get stepsBrecht Van Lommel
set to correct default, was 10 when supposed to be 1.
2011-11-25Fix #29371: crash deleting objects in outliner. This was introduced in theBrecht Van Lommel
bugfix for #28467, it deleted outliner tree while still traversing it.
2011-11-24UI: small fix for forward compatibility, keep this style setting so openingBrecht Van Lommel
in older blender versions show correct panel header spacing still.
2011-11-24pep8 edits and avoid naming conflicts with python builtinsCampbell Barton
2011-11-24BGE patch: [#29285] Video Texture: Avoid slow rescale (non power of 2 ↵Dalai Felinto
support check) by Goran Milovanovic (goran) "Just a simple check for non power of two support (GLEW_ARB_texture_non_power_of_two), to avoid what seems to be a very slow, and very unnecessary gluScaleImage call." This is the only part of the VideoTexture that does the POT calculation, so the check seems good. It would be interesting if some opengl guru would like to benchmark the use of this in other areas of Blender (e.g. 2D Filters, and all GLSL materials). Note that mipmap should also be supported automatically by this extension, so it's not something to worry about.
2011-11-242.6 Code removal:Thomas Dinges
* Deleted some #if 0 code, which was either already replaced or won't come back.
2011-11-24Fix #29366: multires crash with meshes that had verts/edges not connected to ↵Brecht Van Lommel
any face.
2011-11-24(See http://codereview.appspot.com/5431064/ for review of patch)Konrad Kleine
I've written a convenient function that returns the sibling of a node in the red-black tree implementation originally implemented by Joshua Leung. I want to use this get_sibling() function in the future to implement the missing removal function of the red-black tree implementation. For now the get_sibling() function just simplifies the get_uncle() function. Just like the rest of the red-black tree implementation this diff is based on Wikipedia: http://en.wikipedia.org/wiki/Red%E2%80%93black_tree#Removal
2011-11-24Fix #29369: bpy.data.curves.new(name= "test" , type = 'SURFACE') does not ↵Sergey Sharybin
create a surface This issue it totally related on issue with changing object datablock. For curves it used to guess object type from curve datablock based on count of control points in V direction. This quess fails in case when SurfCircle datablock is trying to be reused by another surface object or as another sample empty surface databouck used to be treated as curve. Store type in Curve when creating new Curve datablock which is used in this object type quessing function. Note: Previously saved files wouldn't change behavior at all.
2011-11-24Fix #29306: Alt+N, Enter In Image View Does closes the dialog without executing.Sergey Sharybin
If enter is pressed outside of any button in menu, generate two menu return values: - UI_RETURN_CANCEL so button wouldn't be executed - UI_RETURN_POPUP_OK so callback associated with popup block would be executed
2011-11-24Fix #29384: Mesh without polygons + Modifier crashes when switching to ↵Sergey Sharybin
sculpt mode There were some issues with PBVH which prevented working it for meshes without faces. Discussed with Brecht, for benefits of dynamic-topology-sculpting and so better to make PBVH survive such things. Added some extra NULL-pointer checks for this.
2011-11-24Fix for wrong event clipping in open node groups (bug #29383). The internal ↵Lukas Toenne
node blocks of the group were created before the group node block itself, so the node group block clips events for internal nodes. Generally, blocks should be created just like the drawing order.
2011-11-24- saving as a jpeg image would set the image as not having an alpha channel ↵Campbell Barton
even when saving a copy. - setting the color channels on save as would ignore the channel - BW/RGB/RGBA setting. now its used when available but still need to hide BW for formats blender can only write as color.
2011-11-24image format arg parsing for creator.cCampbell Barton
move these checks from creator into BKE's image.c, this way we dont need the defines for creator, scons was missing DDS, HDR & Cineon for example and nobody noticed.
2011-11-24rename mathutils constructors to match other parts of the bpy/api (no ↵Campbell Barton
functional changes)
2011-11-24patch: [#29382] Arbitrary Length Array Function Additions and ModificationsCampbell Barton
from Andrew Hale (trumanblending), with some edits to use these in mathutils.Vector added. Added Functions: - dot_vn_vn - Dot product of two arrays - normalize_vn_vn - Normalize an array and store the result in a second array - normalize_vn - Normalize an array inplace Renamed Functions: Some functions have been renamed to make them consistent with the naming conventions used by fixed length array functions. - fill_vni to fill_vn_i - fill_vn to fill_vn_fl
2011-11-24BGE Animations: Getting the Action Actuator to behave better with pulse mode ↵Mitchell Stokes
(on the sensor) and continuous enabled.
2011-11-24BGE patch:[#29372] Matrix size for bge.types.BL_ArmatureBone.bone_mat by ↵Dalai Felinto
Damien Touraine (touraine)
2011-11-232.6 UI code:Thomas Dinges
* Get rid of subrow/subcol variable names in the C UI code as well, use sub instead. This is shorter and sufficient. * Minor layout alignment fixes. * Greying out in NLA editor was doing nothing for "strip_time" property.
2011-11-23Patch #29336: renaming UV (Texture) Layer to UV Map in the user interface,Brecht Van Lommel
by Gaia Clary. Rationale: the name was confusing and not always used consistently, and this map itself is not something that can be layered, rather the map can be used as texture coordinates in some layered setup. The original intent was to indicate this contained more than just UV's, but the game engine settings have already been moved out, and apparently users didn't really get this from the name anyway.
2011-11-23minor changesCampbell Barton
- avoid duplicate image enum definitions. - move image UI format & bw/rgb/rgba onto 1 line. - add 'make config' convenience target to run ccmake or cmake-gui
2011-11-23Fix compilation error of blenderplayer caused by recent commit.Sergey Sharybin
2011-11-23Added method clear to most of collections which supports new/remove.Sergey Sharybin
This method not added to animation-specific structures yet/
2011-11-23Fix #29367: Vertex parent regressionSergey Sharybin
Regression was introduced in svn rev40343. It was caused by re-creating EditMesh structure which was needed to solve issues with parenting to vertices after topology changes. This would also erase derivedMesh. Problem reported now is caused by missing derivedMesh which is used to solve parenting and apply inverted matrix on ob->parentin, so parented object used to stay at exactly the same position it used to stay before parenting. Not very nice solving of this issue: re-create derivedMesh after re-creating EditMesh when parenting. Nicer solution would require bigger changes and probably ful lrefactor of this tools.
2011-11-23MSVC 2005 and higher supports variable length macroses, so RNA_warning can ↵Sergey Sharybin
report warnings in nicer format even on msvc now.
2011-11-23Fix #28934: missing GLSL/icon update when changing materials used in nodes.Brecht Van Lommel
2011-11-23Fixed some glitches with WeightVG modifiers:Bastien Montagne
* Added some RNA tooltips, now that they are supported by dropdown lists. * Fixed some RNA num properties UI steps. * Fixed a memory leak in Proximity modifier (when dm of "target" object had to be created, it wasn’t freed...).
2011-11-22looking at CustomData_add_* functions - best the return valye is checked.Campbell Barton
2011-11-22more minor edits to ocean sim codeCampbell Barton
2011-11-22Some Dynamic Paint ui message fixes.Miika Hamalainen
Thanks to Lockal (irc) for noticing these.
2011-11-22ocean simCampbell Barton
- UV's were not being calculated if there were too many VColor layers. - precalc (omd->size * omd->spatial_size) was being called in a loop. - use vector functions to avoid pointer indrections on each access which the compiler wont optimize - eg: och->ibufs_disp[f]->rect_float[4*(res_x*j + i) + 1] - dont call abs() on ints (converts to double and back to int in this case). also unrelated render buttons change. move saving options directly under the file path since these were easy to confuse with image format options like zbuf, ycc, preview.. etc.
2011-11-22Fix for long-standing TODO item: Clicking on overlapping nodes would ↵Lukas Toenne
activate buttons below. This patch adds a new CLIP_EVENTS flag for uiBlock, which will prevent the ui_but_find_mouse_over search function from looking into "lower" uiBlocks (i.e. those further back in the list). The order of block creation for nodes has also been updated to use the z-ordering (just the nodetree->nodes list). In order for this to work, the bounding box values of the uiBlocks have to be set explicitely to fit the node size, those are usually either zero or calculated from the internal buttons.
2011-11-222.6 Various code cleanup: Thomas Dinges
* Removed some old code for image packing, done via Operators now. * Removed some comments.
2011-11-22* UI Improvements for the uiTemplateImageSettings.Thomas Dinges
2011-11-22remove unnecessary switch() statement from ocean sim loop.Campbell Barton
2011-11-22Fix a crash switching from cycles to blender internal, wrong order of freeing.Brecht Van Lommel
2011-11-22fix [#29319] bus error with python with link_append and {}Campbell Barton
patch from Emil Brink
2011-11-22Attempted bugfix to improve behaviour of inverse calculations for ChildOfJoshua Leung
Constraint (bones case only for now). See [#29100] for some problematic test cases * It is no longer necessary to have to press "Clear Inverse" before doing "Set Inverse" to get a reliable result. The calculation now calculates the pose with the inverse cleared as it's "baseline" first now, which has the same result as clearing the inverse manually first. * Also, this commit trials a new method for computing inverses when there is more than one constraint on the bone. Previously it just temporarily muted the offending constraint, but kept all following constraints active, thus potentially including their results in the inverse calculation. However, since the inverse should only really care about what the stack looked like up to and including when the constraint is applied, all constraints starting from this one onwards are now disabled when calculating the inverse. PLEASE TEST!!! In the few tests I've done, the effects appear minimal, but this may be quite an issue in the wild
2011-11-22fix for [#29355] clone-brush in texture paintCampbell Barton
but was caused by cycles code, noticed it was also doing a render engine string lookup & flag check per pixel (tsk tsk), result is now cached.
2011-11-22Fix #29358: Feature "trackness" property misnamedSergey Sharybin
Rename property Trackness to Trackability