Commit Graph

49420 Commits

Author SHA1 Message Date
Campbell Barton
3d501ca70f unicode text input for 3d text. 2011-10-20 10:47:38 +00:00
Lukas Toenne
70ba7d02db Fix for #28980, could enter infinite loop during node socket verification if dynamic sockets are present.
Note: in this particular bug report the sockets have some faulty flag settings (none of them should be flagged as SOCK_DYNAMIC), needs more info.
2011-10-20 10:36:02 +00:00
Bastien Montagne
fe30dcbfb6 Minor: fix [#28899] Frequently used modelling modifiers moved further out of reach by new Vertex Weight modifiers. 2011-10-20 09:53:02 +00:00
Campbell Barton
8d6a554d75 - add BLI_string_utf8.h for unicode functions.
- move font.c unicode functions into string_utf8.c and rename to fit with other BLI_string funcs.
2011-10-20 09:47:05 +00:00
Sergey Sharybin
e02dfe4a79 Fix #28938: Black frames when composite output node even with disabled nodes 2011-10-20 08:32:26 +00:00
Sergey Sharybin
f037642843 Fix #28937: Text Editor Selection (Scroll Bar)
Do not start selection if mouse cursor.x >= scrollbar.x
2011-10-20 08:19:51 +00:00
Campbell Barton
1555d4b1a8 fix [#28902] Rendering and visibility icons in modifier panel move between clicks 2011-10-20 08:12:39 +00:00
Sergey Sharybin
9969ebffa6 Fix #28942: Minimize stretch in UV editing has no continues grab 2011-10-20 08:03:29 +00:00
Bastien Montagne
daf51fe6cd A big set of UI messages fixes and tweaks! No functional changes. 2011-10-20 07:56:04 +00:00
Mitchell Stokes
f1fe89acf1 Fix for bug #28979 "Action actuator breaks animation" reported by Goran Milovanovic. Apparently IPO options can be set too frequently... 2011-10-20 07:20:17 +00:00
Campbell Barton
7aca04ad0a minor changes to test editing
- use BLI_strncpy_utf8 for utf8 buttons when pasting.
- reuse code for ui_textedit_type_ascii / ui_textedit_type_utf8.
- use memmove rather then for() loops in string editing.
- merge jump/all arguments in interface_handlers.c into one enum arg.
2011-10-20 07:12:14 +00:00
Dalai Felinto
415f35d1dc bge bugfix: patch #28893 "Fix for #28753 and some other changes for BGE projection code" by Juha Mäki-Kanto (kanttori) 2011-10-20 06:38:45 +00:00
Campbell Barton
9bbec84e7e initial support for unicode keyboard input for ghost & blenders WM.
- currently X11 only, depends on Xinput (but should not break other os's).
- ghost stores utf8 buffer, copies to wmEvent's
- UI text input is currently the only area that uses this - not console or text editor.
- no rna access yet.
2011-10-20 05:30:26 +00:00
Joshua Leung
8e58fceab1 Bugfix [#28976] crash when moving keys in dopesheet editor 2011-10-20 05:18:02 +00:00
Campbell Barton
445279524a debug build option WITH_PYTHON_UI_INFO, so you can right click and edit the python source for UI layout directly. 2011-10-20 00:48:00 +00:00
Campbell Barton
4512f10db9 misc edits
- rename define DISABLE_SDL --> WITH_SDL (which was already used in some places)
- blenders interation preset was using orbit rather then turntable 3d view preference (different from factory defaults).
- tagged some unused rna args.
2011-10-20 00:19:21 +00:00
Campbell Barton
5cf593a778 strcpy() --> BLI_strncpy(), where source strings are not fixed and target size is known. 2011-10-19 23:10:54 +00:00
Antony Riakiotakis
364fcde86d #fix: Saving OpenEXR images as floats ignores color profile. This was not noticable in renderer because it works in linear color space. Painting on the image editor, saving and reloading was problematic though. 2011-10-19 23:04:48 +00:00
Campbell Barton
0e66576f02 replace RNA function string lookups with direct assignments, currently the lookup returns the same pointer every time. some of these functions - panel/operator poll for eg, are called many times per redraw so while not a bottleneck its unnecessary. 2011-10-19 22:40:03 +00:00
Campbell Barton
617d3cb852 pass -noaudio when running blender for various utilities - doc-gen and tests. 2011-10-19 21:55:27 +00:00
Jens Verwiebe
f6f9288f35 replace former applescript with an editable one 2011-10-19 19:15:35 +00:00
Jens Verwiebe
c661a4b1ab OSX: set at least initial OMP_NUM_THREADS value to avoid warnings in log, remove applescript for now 2011-10-19 19:12:41 +00:00
Peter Schlaile
c97aa671f4 == Sequencer ==
do_versions fix: hd audio tracks within metastrips were not properly
upgraded from 2.49 files, resulting in broken unusable tracks, which were 
rendered as black strips as a bonus.
2011-10-19 18:21:08 +00:00
Lukas Toenne
0d7bd0f9b6 Adds an update flag to the bNode struct (similar to bNodeTree->update).
This prevents access to non-existent typeinfo during type initialization,
when node types have been removed and such nodes are deleted from older files.
All blenkernel functions now only set the node->update flag instead of directly
calling the update function.  All operators, etc. calling blenkernel functions
to modify nodes should make a ntreeUpdate call afterward (they already did that
anyway).

Editor/RNA/renderer/etc. high-level functions still can do immediate updates by
using nodeUpdate and nodeUpdateID (replacing NodeTagChanged/NodeTagIDChanged
respectively). These old functions were previously used only for setting
compositor node needexec flags and clearing cached data, but have become generic
update functions that require type-specific functionality (i.e. a valid typeinfo
struct).
2011-10-19 17:08:35 +00:00
Campbell Barton
408a2c62b9 fix for armatures in wire draw mode not displaying in solid mode.
note, this isn't a showstopper bugfix.
2011-10-19 00:41:48 +00:00
Tamito Kajiyama
b4e7451cb0 Merged changes in the trunk up to revision 41099. 2011-10-18 23:36:43 +00:00
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