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-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-12-09fix [#33442] UnitsCampbell Barton
adding meshes were scaling the user input values so the distance on the button didnt relate to the scale of the object added. Now use an invoke function that scales unset default values.
2012-12-04cmake was missing some header files.Campbell Barton
2012-11-30Fix transfer weight tool enum properties all showing question mark icons,Brecht Van Lommel
these should have no icons.
2012-11-29skip recalculating tessface when adding objects if 'EnterEdit-mode' is disabled.Campbell Barton
2012-11-27Move to layer: remove the OK button and make it apply immediately like it didBrecht Van Lommel
before, is much nicer workflow. Now only if global undo is disabled will the OK button show. This is also a more generic fix for #26891 that solves other operators that were also broken with global undo disabled.
2012-11-26Fix #33310: unnecessary redraw of outliner when editing materials and textures.Brecht Van Lommel
2012-11-25code cleanup: warnings, styleCampbell Barton
2012-11-25Fix #33296: uv editing did unnecessary outliner redraw, giving slowdown.Brecht Van Lommel
2012-11-21Fix #33241: can't exit edit mode when object gets hidden via animation.Brecht Van Lommel
2012-11-15Image thread safe improvementsSergey Sharybin
This commit makes BKE_image_acquire_ibuf referencing result, which means once some area requested for image buffer, it'll be guaranteed this buffer wouldn't be freed by image signal. To de-reference buffer BKE_image_release_ibuf should now always be used. To make referencing working correct we can not rely on result of image_get_ibuf_threadsafe called outside from thread lock. This is so because we need to guarantee getting image buffer from list of loaded buffers and it's referencing happens atomic. Without lock here it is possible that between call of image_get_ibuf_threadsafe and referencing the buffer IMA_SIGNAL_FREE would be called. Image signal handling too is blocking now to prevent such a situation. Threads are locking by spinlock, which are faster than mutexes. There were some slowdown reports in the past about render slowdown when using OSX on Xeon CPU. It shouldn't happen with spin locks, but more tests on different hardware would be really welcome. So far can not see speed regressions on own computers. This commit also removes BKE_image_get_ibuf, because it was not so intuitive when get_ibuf and acquire_ibuf should be used. Thanks to Ton and Brecht for discussion/review :)
2012-11-15code cleanup: move local math functions into math_geom.c, math_vector.c, no ↵Campbell Barton
functional changes.
2012-11-13code cleanup: use ptrdiff_t when comparing pointers and tag event as an ↵Campbell Barton
unused arg to move_to_layer_invoke()
2012-11-13Bugfix #26891Ton Roosendaal
Recoded the move-to-layer popup to wait for execution of operator until you press Enter or OK button. That excludes undo/redo, which makes it faster for many too. (note the menu is all hotkey driven, so it's MKEY, <number>, Enter) Also fixed: missing MEM_free in this popup type.
2012-11-13disable applying constructive modifiers when in sculpt mode with multi-res ↵Campbell Barton
data, since this would crash. also rename modifier_sameTopology -> modifier_isSameTopology(), modifier_nonGeometrical -> modifier_isNonGeometrical()
2012-11-13fix [#33143] Exporter crash since 2.64Campbell Barton
2012-11-08Fix #33113: cycles not rendering motion blur correct with dying particles.Brecht Van Lommel
There were a bunch of other issues with dupli motion blur and syncing, the problem being that there was no proper way to detect corresponding duplis between frames or updates. As a solution, a persistent_id was added to the DupliObject. It's an extension of the previous index value, with one index for each dupli level. This can be used to reliably find matching dupli objects between frames. Works with nested duplis, multiple particle systems, etc.
2012-11-04Bugfix #32987Ton Roosendaal
"Set origin to cursor" tool failed for parented/rotated objects. Matrix mashup. Thanks to Ben Batt for the fix!
2012-11-02all remove functions now invalidate the RNA objects passed, to help script ↵Campbell Barton
authors to avoid bugs with accessing removed data.
2012-10-30remove CD_POLYINDEX customdata layer:Campbell Barton
reported as [#29376] BMESH_TODO: remove tessface CD_ORIGINDEX layer for a single mesh there could be 3 origindex mappings stored, one on the polygons and 2 on the tessfaces. (CD_POLYINDEX and CD_ORIGINDEX). as Andrew suggests, now tessfaces (which are really a cache of polygons), using origindex to point to polygons on the same derived mesh, and polygons only store the original index values.
2012-10-27style cleanupCampbell Barton
2012-10-26Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a ↵Bastien Montagne
few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-26Show warning message when multires baking happens for preview level of 0Sergey Sharybin
2012-10-26style cleanupCampbell Barton
2012-10-23use min_ max_ functions in more places.Campbell Barton
also fix minor error in MOD decimate when the modifier did nothing the reported face count would be wrong.
2012-10-23style cleanup: also rename bmesh_decimate.c --> bmesh_decimate_collapse.cCampbell Barton
2012-10-22Fix [#32884] select by group not working when active object in more than one ↵Bastien Montagne
group. Would have liked to rework this whole area, but it's kind of tricky, so better to first fix that bug!
2012-10-21A final bunch of UI messages fixes and tweaks, and some ↵Bastien Montagne
BKE_report()<->BKE_reportf() fixes.
2012-10-21style cleanup: bge, switch statements mostly.Campbell Barton
also left bmesh decimator on in previous commit.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-21style cleanup: commentsCampbell Barton
2012-10-20Add option to set object origin to the center of massSergej Reich
This uses the weighted average of polygon centroids based on area It work well in most cases but will be slightly wrong when polygons have many vertices.
2012-10-19Fix #32219: Inconsistent influence of Units Scale on new objectsSergey Sharybin
Made it so meshes, curves, surfaces and metaballs are scaling to a grid cell size, which makes them behave consistently now. There're still issues to be resolved still: - Lattice is not scaled to grid cell size yet, it uses slightly different add function which makes scaling a bit tricky and hacky. Would prefer to do a bit bigger refactor here, so it's a TODO for now. - Cameras, speakers and other helpers are not scaling. They don't have data on which scale could be applied and perhaps it should be some kind of draw scale. Also would consider it's a TODO for now.
2012-10-17code cleanup:Campbell Barton
- move object_iterators.c --> view3d_iterators. (ED_object.h had to include ED_view3d.h which isn't so nice) - move projection functions from view3d_view.c --> view3d_project.c (view3d_view was becoming a mishmash of utility functions and operators). - some some cmake includes as system-includes.
2012-10-16More UI messages and BKE_reportf<->BKE_report fixes...Bastien Montagne
2012-10-15safety NULL check for r51327, don't assume ED_object_modifier_add() succeeds.Campbell Barton
2012-10-15Parenting an object to a deformer (armature/curve/lattice) will now attempt toJoshua Leung
check if the object is already parented to said deformer before trying to add a new modifier This should help reduce the number of cases where users inadvertantly end up creating multiple deform modifiers pointing to the same object, which has been known to be a cause of "double-transform" artifacts. Note that this is only able to detect these cases by checking if the parent object is selected, so this will only really work for the Ctrl-P shortcut where you have to select both objects first. However, it shouldn't be a problem either in the Outliner (drag and drop), as the object probably won't be a child of its parent already if you're doing this.
2012-10-15Unparenting objects from armatures/curves/lattices now removes the correspondingJoshua Leung
modifiers now This makes it harder for users to unwittingly create multiple deform modifiers by parenting and unparenting a number of times, with the net result being that "Clear Parent" is now the true inverse operation of "Make Parent".
2012-10-14More UI messages and BKE_reportf->BKE_report fixes...Bastien Montagne
2012-10-14Fixed missing display buffer and mipmaps invalidation in cases onlySergey Sharybin
few of selected objects failed to bake.
2012-10-13And more UI messages spell check.Bastien Montagne
2012-10-13Lattice Editing: Distortion-Free "Flip" OperatorJoshua Leung
This operator (Ctrl-F) allows you to flip the lattice coordinates without inverting the normals of meshes deformed by the lattice (or the lattice's deformation space for that matter). Unlike the traditional mirror tool, this tool is aware of the fact that the vertex order for lattice control points matters, and that simply mirroring the coordinates will only cause the lattice to have an inverted deform along a particular axis (i.e. it will be scaling by a negative scaling factor along that axis). The problems (as I discovered the other day) with having such an inverted deformation space are that: - the normals of meshes/objects inside that will be incorrect/flipped (and will disappear in GLSL shading mode for instance) - transforming objects deformed by the lattices will become really tricky and counter-intuitive (e.g. rotate in opposite direction by asymmetric amounts to get desired result) - it is not always immediately obvious that problems have occurred Specific use cases this operator is meant to solve: 1) You've created a lattice-based deformer for one cartoonish eye. Now you want to make the second eye, but want to save some time crafting that basic shape again but mirrored. 2) You've got an even more finely crafted setup for stretchy-rigs, and now need to apply it to other parts of the rig. Notes: * I've implemented a separate operator for this vs extending/patching mirror transform tool as it's easier to implement this way, but also because there are still some cases where the old mirroring seems valid (i.e. you explicitly want these sort of distortion effects). * Currently this doesn't take selections into account, as it doesn't seem useful to do so.
2012-10-12quiet some -Wshadow warningsCampbell Barton
2012-10-11style cleanup:Campbell Barton
also add helper makefile targets: * tbz - makes a tar.bz2 of an svn export * test_style_qtc - outputs style checks in qtc task format.
2012-10-10Google Summer of Code project: "Smoke Simulator Improvements & Fire".Daniel Genrich
Documentation & Test blend files: ------------------ http://wiki.blender.org/index.php/User:MiikaH/GSoC-2012-Smoke-Simulator-Improvements Credits: ------------------ Miika Hamalainen (MiikaH): Student / Main programmer Daniel Genrich (Genscher): Mentor / Programmer of merged patches from Smoke2 branch Google: For Google Summer of Code 2012
2012-10-10Its silly to use "verify index" because it will add non existing and remove ↵Ove Murberg Henriksen
them afterwards.
2012-10-10Changing clear weight code from "assigning 0" to "removing".Ove Murberg Henriksen
Its less efficient but better practice. + Some style clean.
2012-10-10refactor foreachScreen functions for clipping, now the projection clipping ↵Campbell Barton
flag is passed down directly rather then converting the enum into a flag, also fix own recent crash lasso seleting in object mode with pose objects.
2012-10-10code cleanup: split `foreach` object data iterator functions out of ↵Campbell Barton
drawobject.c (since they are used for selection too), into their own file: object_iterators.c
2012-10-10refactor screen foreach functions to accept float[2] arguments rather then ↵Campbell Barton
int pairs. overall means less converting between float and int (and short in some cases).