Commit Graph

49420 Commits

Author SHA1 Message Date
Sergey Sharybin
dc19877a09 Remove PROP_TRANSLATE flag from labels for operators, menus and panels.
This flag lead to storing translated label for templates and
instant language switching became impossible.

This labels are display-time translated.
2011-09-26 14:29:39 +00:00
Bastien Montagne
3cff99c9a1 Commented and tagged some unused vars (gcc warnings...). Also fixed some uninitialized warnings. 2011-09-26 13:24:42 +00:00
Bastien Montagne
c23bc03382 Minor: Other UI strings typos and tweaks. Also updated french po & mo. 2011-09-26 12:08:04 +00:00
Campbell Barton
573ed73be8 change define INTERNATIONAL --> WITH_INTERNATIONAL
also rename backface_culling --> use_backface_culling (which is used elsewhere in rna)
2011-09-26 10:35:47 +00:00
Campbell Barton
0aa19de52f add missing imports to wm.py and remove "." from rna descriptions. 2011-09-26 09:31:24 +00:00
Sergey Sharybin
f0cceedd7a Fix #28747: Crash in Node Editor
Setting of transform flags happened with NULL edittree
2011-09-26 08:51:02 +00:00
Campbell Barton
b3d21088aa workaround/fix for [#28379] Shift+F problem when using Ortho Camera
temp switch to perspective mode since fly mode doesnt really make sense for otho view.
2011-09-26 08:33:51 +00:00
Dalai Felinto
aeafb960b1 OSX - cmake: blenderplayer part 2: Jens Verwiever co-patch
Using OSX Bundle (in oppose to Blender dummy .app) as start point for binary.
That way we don't need to move the blenderplayer after the bundle is finished and we can rebuild it without doing `make install`
I will test more tomorrow, but it should be working now
2011-09-26 07:54:30 +00:00
Campbell Barton
8f302f7ffd bugfix [#28744] Object mapped textures (decals) in linked files are not rendered properly 2011-09-26 07:39:29 +00:00
Dalai Felinto
11a0e00819 BGE Material settings renaming Back Culling to Backface Culling and make it on by default
under suggestion of Mitchell Stokes (Moguri)
2011-09-26 06:39:19 +00:00
Andrew Wiggin
4d1e122d7b BMesh branch-specific warning fixes for MSVC 2010 warnings 2011-09-26 05:35:57 +00:00
Dalai Felinto
4b273f013e cmake files for bundling blenderplayer in OSX
this is working fine. The only problem is described in the XXX there.

While Blender is linked to the right place during `make` time (~/bin/blender.app/Content/MacOS/blender)
blenderplayer is in the top bin folder (~/bin/blenderplayer).

That means it will be correct only after you run `make install` (we are moving it to the right place inside the bundle).
I couldn't find the place to fix this properly. I will see with Jens Verwiebe how we can address that.
2011-09-26 05:26:04 +00:00
Andrew Wiggin
7f165ac4b0 Fix some typos & bugs from some of my previous patches and commits 2011-09-26 05:10:37 +00:00
Andrew Wiggin
8cc095696a Bread-first bmesh walkers:
- walkers can be run in breadth-first order or depth-first order (previously there was only depth-first)
- walkers keep track of current depth (with this + breadth-first, select nth implementation is now trivial)
- new connected vertex walker (similar to shell walker, but returns vertices instead of edges)
- shell walker can be started from a vertex (in which case the walker starts by queueing all the edges incident on the vertex) or from an edge (walker starts by queueing the single edge)
- bug fix for walker reset (was emptying states, but not clearing the visithash)
- bug fix for select nth (indexing for deselection was walking through *all* connected elmeents, to match trunk it should only walk through *selected* connected elements)
2011-09-26 03:38:30 +00:00
Andrew Wiggin
e625ce0b16 Fix dissolve crashes.
For some cases, this will make dissolve work as expected. For other cases dissolve will fail gracefully (it will report unable to dissolve, but not crash). To get dissolve to work in these cases we need to define what happens when you dissolve a disk that has faces which share more than one edge.
2011-09-26 03:37:12 +00:00
Andrew Wiggin
f19cb3fc6b undo of 40542 (meant to make two separate changes) 2011-09-26 00:32:45 +00:00
Andrew Wiggin
6cd42ebe18 Fix dissolve crashes.
For some cases, this will make dissolve work. For others dissolve will still fail (report unable to dissolve, not crash) in some cases. To get dissolve to work in these cases we need to define what happens when you dissolve a disk that has faces which share more than one edge.
2011-09-26 00:27:25 +00:00
Bastien Montagne
a932f93098 Commented and tagged some unused vars (gcc warnings...). 2011-09-25 15:37:06 +00:00
Andrew Wiggin
7c46f1c4b7 Fix some MSVC 2010 warnings (including one apparent bug in intern/elbeem/intern/solver_relax.h) 2011-09-25 12:33:51 +00:00
Campbell Barton
274b9c8fb8 whitespace cleanup 2011-09-25 12:31:21 +00:00
Alex Fraser
558b646216 Committing patch #27442: Adaptive time step for fluid particles. The number of
subframes can now be altered automatically while an SPH (fluid particle)
simulation is running.
2011-09-25 11:51:28 +00:00
Bastien Montagne
9931c9442e Minor: Other UI strings typos and tweaks. Also updated french po & mo. 2011-09-25 09:55:13 +00:00
Campbell Barton
3379099a6e patch [#28616] Multiple particle systems support
from Andrea Rugliancich (andrearu01)
2011-09-25 07:42:43 +00:00
Mitchell Stokes
58a74bc87f BGE Animations: Fixing various Action Actuator compatibility issues reported by Dalai in issue #28723. 2011-09-25 07:03:20 +00:00
Campbell Barton
0f21ecdb16 added bone envelope to the editbone UI, also use more BLI_math functions for armature drawing. 2011-09-25 05:48:16 +00:00
Campbell Barton
2d5dd02db8 correction to armature drawing code, was implicitly casting the bone flag to a short when it contains flags in the int range.
also was converting pose bone constflag to an int which is harmless but may as well not to it.
2011-09-25 04:55:04 +00:00
Campbell Barton
e3c9986b7c fix [#28459] Fly mode problem: "Precision enable" not working in 2.59
also added back freelook (from 2.4x) - so you can loop about without changing direction.
2011-09-25 04:47:46 +00:00
Campbell Barton
81f7e361d2 make new rna variables more consistant with existing names. 2011-09-25 02:49:46 +00:00
Dalai Felinto
51555877b0 manual update on changelog (python API)
Change as suggested by Campbell.
I'm not sure if this is the way to do for enums, I will check with him later
2011-09-24 23:50:00 +00:00
Dalai Felinto
3b40eea3cd removing texface rna - changelog.rst update soon 2011-09-24 22:15:37 +00:00
Tamito Kajiyama
c0c488d0b2 Merged changes in the trunk up to revision 40520. 2011-09-24 21:39:11 +00:00
Campbell Barton
7a103d33eb fix for assert 2011-09-24 16:52:54 +00:00
Campbell Barton
b392539e40 optimization for scanfill allocation function.
- replace "size= 4*( (size+3)/4 );" with "size = (size + 3 ) & ~3;"
- split new_mem_element into 2 functions, one to reset, another to allocate so allocating isnt checking to reset each time.
2011-09-24 16:38:02 +00:00
Bastien Montagne
1ddb64817d Minor: Added PROP_DISTANCE sub-type to min/max dstances of WeightVG Proximity, and Radius of Warp modifiers. 2011-09-24 16:17:23 +00:00
Campbell Barton
cb6255fdf8 edits to internal renderer - no functional changes.
- move some larger vars into a nested scope.
- replace memset with zero initializer.
- rempace VECCOPY macros with copy_v3v3
- change function args to give the float array length.
2011-09-24 14:34:24 +00:00
Campbell Barton
1f12740a82 make error prints more helpful & correct some comments for rip code. 2011-09-24 12:13:13 +00:00
Campbell Barton
4779b162ac fix for missing memfree with raddish merge, copy over changes from trunk for switching mode - Ctrl+Tab wasnt setting weight paint. 2011-09-24 11:42:11 +00:00
Campbell Barton
e63c124e2b fix [#28736] FaceMask crash on Weight Paint 2011-09-24 11:24:34 +00:00
Campbell Barton
8247bf6fa6 svn merge ^/branches/bmesh/blender -r40512:40513 2011-09-24 11:10:53 +00:00
Campbell Barton
dab7dba2db svn merge ^/trunk/blender -r40498:40511 2011-09-24 11:03:52 +00:00
Andrew Wiggin
2cc2e9b841 Another rip fix for rip grabbing the wrong side of the split edges 2011-09-24 10:01:04 +00:00
Bastien Montagne
37cd3368da Minor: Other UI strings typos and tweaks. Also updated french po & mo 2011-09-24 09:57:47 +00:00
Sergey Sharybin
a043133bab Fix for recent Campbell's commit. 2011-09-23 19:33:04 +00:00
Campbell Barton
a189b71a28 some speedup for drawing mesh in texture mode.
- only pass if the mesh has vertex colors to drawParams() rather then the mcol its self, this saves a lookup on the color.
- drawing textures in editmode with no vertex colors would still lookup vertex colors on each face, instead cache this info for all faces.
2011-09-23 18:29:45 +00:00
Bastien Montagne
120895fd24 Fix [#28729] World units not used for new object creation.
Setting PROP_DISTANCE subtype for "size" properties of add mesh operators.
2011-09-23 17:44:57 +00:00
Andrew Wiggin
f6510be5ac Fix a trunk->bmesh MSVC build break 2011-09-23 15:30:34 +00:00
Andrew Wiggin
bf95e3c34e Port jfke and jekv euler functions to new bmesh structures 2011-09-23 14:38:45 +00:00
Campbell Barton
d7a5429f42 svn merge ^/trunk/blender -r40491:40498 2011-09-23 13:55:06 +00:00
Campbell Barton
38132d68d6 fix script error and quiet warnings about "." description ending. 2011-09-23 13:31:48 +00:00
Campbell Barton
9494340dae svn merge ^/trunk/blender -r40432:40491 2011-09-23 13:04:01 +00:00