Commit Graph

47594 Commits

Author SHA1 Message Date
Andrew Wiggin
9acb183945 Fix for a memory corruption bug in knife tool cleanup 2011-10-18 12:54:23 +00:00
Campbell Barton
861ba1bb53 added missing call to re-tesselate on mesh conversion (Alt+C). 2011-10-18 11:28:39 +00:00
Campbell Barton
60713a1d61 - Knife tool would switch the knife line to 0,0,0 when not over any geometry, this felt glitchy and while drawing in free space isn't supported 0,0,0 can easily be free space too. So draw a line to the mouse cursor.
- knife tool was missing calls to BLI_array_free()

- add assert for bug [#28960] where dissolve can cause invalid bmesh.
2011-10-18 08:39:26 +00:00
Campbell Barton
54d0f4998b formatting to BLI_array to make it easier to follow, also give line numbers with unfreed memory. 2011-10-18 03:48:53 +00:00
Campbell Barton
12ff7109fc uv select wasn't freeing arrays. 2011-10-18 02:58:05 +00:00
Campbell Barton
638a93b235 svn merge ^/trunk/blender -r41075:41099 2011-10-18 01:09:00 +00:00
Thomas Dinges
d795b55b73 BLENDER_VERSION_CYCLE:
rc > release
2011-10-17 15:09:23 +00:00
Ton Roosendaal
b8da571036 Blender 2.60 release commit!
New splash: thanks to Kent Trammell!
And thanks to judges committee: Beorn Leonard, Pratik Solanki
and Brandon Phoenix.

Next: tag & build!
2011-10-17 15:07:08 +00:00
Jens Verwiebe
3335cf41f6 OSX: omp script rework part2 2011-10-17 10:43:32 +00:00
Jens Verwiebe
70abd2a304 OSX: omp script rework part1 2011-10-17 10:41:47 +00:00
Jens Verwiebe
9a5921883e OSX: Start with OMP_NUM_THREADS default unchanged, to let the user decide about optimized value, default == all cores used 2011-10-17 10:30:08 +00:00
Campbell Barton
61389bba41 fix spelling mistakes in comments (and in some python error messages), nothing to effect translations. 2011-10-17 06:39:13 +00:00
Campbell Barton
ef1a1e1451 svn merge ^/trunk/blender -r41005:41075 2011-10-17 03:40:10 +00:00
Campbell Barton
19b3f13a84 quiet some pedantic gcc warnigns 2011-10-17 03:06:20 +00:00
Campbell Barton
67c15da97d docs / clenup (no functional code changes)
- added API examples for mathutils.Color/Euler/Quaternion/Matrix.
- corrected own bad spelling matricies --> matrices.
- minor pep8 edits.
- update CMake ignore file list.
2011-10-17 02:20:53 +00:00
Tamito Kajiyama
b53505f5e1 Another attempt to fix the failure of SVertex::getFEdge due to a discontinuity
of underlying FEdges introduced by chaining operations.  The material of a
smooth FEdge is identified by the material index of the FEdge and the array
of materials in the SShape to which the first SVertex (i.e., vertexA) of the
FEdge belong.  The present fix makes sure that the material index refers to the
intended array of materials, to avoid inconsistent reference and out-of-index
errors that lead to a crash.
2011-10-16 22:54:08 +00:00
Brecht Van Lommel
5c3d8c1eb6 Cycles: fix missing node editor redraw when assiging/removing materials. 2011-10-16 16:53:24 +00:00
Janne Karhu
8fae0c6d7e Particle dupliobject rotation changes:
There has been quite a bit of fuss about particle dupliobject rotation in 2.59, so here are some changes to make things work a bit more consistently and predictably in 2.60.

Much of the confusion has been about what the "Initial rotation" for particles actually means. Simply put it's just a vector that that the particles (and the dupliobjects) are aligned to and around which they can be rotated with the phase controls. I've now renamed these controls under a label "Rotation axis".

In 2.59 and previous versions the dupliobject's global x-axis was aligned to the particle rotation axis for non-hair particles. This meant that the object's own rotation (in addition to the particle rotation) could effect the dupliobjects' rotations. This old behavior can still be used with the "Rotation" option in the particle render panel when object/group is set as the visualization. This option is also activated automatically for old files to maintain backwards compatibility.

Now the default dupliobject rotations ignore the object's own rotation completely and align the object's tracking axis to the particle rotation axis. The tracking axis can be found under the Object tab -> Animation Hacks panel.

In 2.58 the way of calculating the rotation for hair didn't work as intended and enabled many non-functional combinations of options. For this reason I removed most of the rotation options for hair in 2.59. Now the options have been reimplemented better and the dupliobject's tracking axis is aligned to the hair direction by default (Rotation axis = Velocity / Hair). All the other axis options work too along with the phase controls.
2011-10-16 16:14:36 +00:00
Andrew Wiggin
2cecc590d7 Fixes and restrictions for bridge loops tool 2011-10-16 15:45:45 +00:00
Andrew Wiggin
1c6d17e77a Fix an assert when trying to unwrap with nothing selected 2011-10-16 15:44:58 +00:00
Campbell Barton
b6d0daa9cb utf8 editing for UI text input, this means backspace, delete, arrow keys properly move the cursor with multi-byte chars.
Note that this is only for the interface, text editor and python console still miss this feature.
2011-10-16 12:25:42 +00:00
Tamito Kajiyama
2d25a12bbd Fix for a failure of SVertex::getFEdge due to a discontinuity of underlying FEdges
introduced by chaining operations.  When two ViewEdges are concatenated by a chaining
operator, the last vertex of one ViewEdge and the first vertex of the other reside
in the same 3D position, so that the latter vertex is omitted.  This caused a pair
of SVertices unconnected by an FEdge.  The present commit intends to fix this issue.

The bug was reported by mato_sus304 with a .blend file reproducing the issue.  Thanks!
2011-10-16 10:29:21 +00:00
Daniel Salazar
3fd8a914b8 ID Mask node was limmited at 10000 while OB and Mat IDs reach 32767. Set this limit and it's working fine here in my comps 2011-10-16 09:51:23 +00:00
Dalai Felinto
2bba8ad861 Set the correct char for Persian name (using \ufbfd instead of the arabic yeh one) 2011-10-15 23:50:05 +00:00
Brecht Van Lommel
d5b679253a Cycles:
* Sun, area and point lights with size now supported
* Cast shadow option to disable shadow casting for lamps
* Emission strength of materials tweaked such that setting strength to 1.0
  basically makes the material "shadeless" in that the value of the color
  input will be the resulting color in the image.
2011-10-15 23:49:01 +00:00
Brecht Van Lommel
d293d74942 Cycles: more tweaks to get old/new shading systems working better together, for
now also made non-material/world/lamp stuff use old texture datablocks, no time
to get this fully working now. Still some python tweaks to do to ensure the right
panels show.
2011-10-15 20:43:45 +00:00
Brecht Van Lommel
9c959d98fe Cycles: make Attribute node work, code for it was implemented in kernel, only
missing was the ability to specify the attribute name in the node. This makes
it possible to use multiple uv or vertex color layers now.
2011-10-15 20:13:35 +00:00
Brecht Van Lommel
19a42adc61 Cycles: fix nodes gone missing after new/old shading node compatibility changes. 2011-10-15 16:20:41 +00:00
Andrew Wiggin
30141b4464 select boundary loop tool (aka region to loop) switches to edge select mode if the mode was face select 2011-10-15 14:47:37 +00:00
Andrew Wiggin
e9a194e55f More solidify cleanup: comment updates and make shell_angle_to_dist a continuous function in the edge case 2011-10-15 14:46:26 +00:00
Jens Verwiebe
1c8a91d4df OSX: add editable applescript to not have the script a blackbox 2011-10-15 14:21:03 +00:00
Campbell Barton
7f4bb1f71b spelling corrections in comments and quiet warning 2011-10-15 14:14:22 +00:00
Jens Verwiebe
08f8fbbd30 OSX:recommit applescript, added errorhandling 2011-10-15 14:04:33 +00:00
Jens Verwiebe
843193e4d1 Delete applescript for recommit 2011-10-15 14:03:23 +00:00
Campbell Barton
58eb0d7967 keep particle system names unique 2011-10-15 11:55:09 +00:00
Campbell Barton
f5f8292461 ensure BoneGroup names are kept unique. 2011-10-15 11:07:18 +00:00
Campbell Barton
9613de6248 make sure render layer names are unique when setting through rna. 2011-10-15 09:59:31 +00:00
Campbell Barton
f8317ed450 fix UI jump in normal buttons for buttons which didnt start out normalized. 2011-10-15 09:43:42 +00:00
Campbell Barton
febcb91b82 - add template for defining custom driver functions.
- comment unused assignments.
2011-10-15 07:19:34 +00:00
Campbell Barton
5da894b1fe misc edits
- cmake/windows was installing locale & font when internationalization was disabled, twice when enabled.
- file selector was using the string size-1, where this isn't needed since string buttons expected this value to be the sizeof(), accounting for '\0'.
- use const char for extension checking funcs.
- minor pep8 edits
2011-10-15 05:01:47 +00:00
Campbell Barton
317b649bb2 fix for buffer overrun with BLI_split_dirfile(...), was simple to do since many places don't check for filename lengyj of 79 chars which is the limit for the file selector.
Add max dir and file length args.
2011-10-15 03:56:05 +00:00
Janne Karhu
f9c41eaaf8 Fix for [#28823] Boids use uninitialized memory.
* Boids need the random velocity vector always.
2011-10-15 01:42:26 +00:00
Campbell Barton
cae655f81f fix for weight paint vertex select, it broke vertex paint when left on. 2011-10-15 01:32:49 +00:00
Jens Verwiebe
e7b0ccbb0b OSX:recommit applescript, fixed an issue 2011-10-14 20:12:34 +00:00
Jens Verwiebe
c963edeb9e Delete applescript for recommit 2011-10-14 20:11:19 +00:00
Jens Verwiebe
e7095450e7 OSX: commit the omp_set_simulation_threads applescript and copy-routines 2011-10-14 17:54:37 +00:00
Jens Verwiebe
afcf581fb0 OSX: commit the needed steps for compiling with gcc 4.6.1 and OMP_NUM_THREADS env variable setting 2011-10-14 17:27:55 +00:00
Andrew Wiggin
0c151167e5 svn merge ^/trunk/blender -r40997:41005 (to integrate the MSVC build fixes over to bmesh) 2011-10-14 16:23:41 +00:00
Sergey Sharybin
f66cbcb1ad Remove final e from Francaise 2011-10-14 13:13:13 +00:00
Sergey Sharybin
fdc0edefce Split language menu into two columns:
- Nearly done for languages with >80% strings translated
- In progress for languages which aren't translated enough still.
2011-10-14 13:10:11 +00:00