Campbell Barton
fa2ba5fbf5
- use static vars and functions where possible.
...
- use NULL rather than 0 when used as pointers.
2011-08-28 05:06:30 +00:00
Campbell Barton
c73d5b939d
check for unlikely error when freeing a library blend file from the BGE.
2011-08-28 05:01:16 +00:00
Campbell Barton
81ea1e7fcb
remove implicit casts to doubles in the noise code, also use floating point math functions rather then double since the noise functions range is already limited by casting to ints in many places.
...
- gives a very small speedup.
2011-08-28 02:54:26 +00:00
Campbell Barton
4684df0830
fix [ #28388 ] Clouds at high depth give artifacts.
...
http://projects.blender.org/tracker/download.php/9/498/28388/17476/screen_bad.png
2011-08-28 02:04:40 +00:00
Sergey Sharybin
752cb7485d
Do not show confirm message when creating text block from menu.
2011-08-27 12:01:01 +00:00
Campbell Barton
01230b1374
fix [ #28373 ] "Lock camera to view" doew not work with 3D-mouse
2011-08-27 11:52:59 +00:00
Sergey Sharybin
a347f0267b
Fix [ #28341 ] writing }(alt+n) in text editor creates a new file
...
Change hotkey for new textblock to Ctrl-N.
2011-08-27 11:41:48 +00:00
Campbell Barton
681d073d94
mistake in own recent commit broke op[encollada with mingw
2011-08-27 08:19:26 +00:00
Campbell Barton
909d74d124
- use python convention for headings
...
- use implicit examples rather than .. code-block::
2011-08-27 08:09:12 +00:00
Campbell Barton
cd0e92c5b7
fix for building with msvc, ssize_t is more correct but in this case its not going to give issues.
2011-08-27 07:06:44 +00:00
Campbell Barton
2e8771e987
bpy Gotcha's section on bones by Bassam Kurdali, with some edit.
...
added some examples & notes too.
2011-08-27 07:05:04 +00:00
Campbell Barton
ca1e9d2c18
replace octal 0177 with 127 to be more clear, no functional change.
2011-08-27 03:34:11 +00:00
Campbell Barton
c96f28a718
- use %u rather tham %d for unsigned ints in string formatting funcs.
...
- replace (strlen(str) == 0) with str[0]=='\0'
2011-08-27 03:25:02 +00:00
Campbell Barton
6926060185
- fix for BL_Shader::SetUniform() missing out the last part of the matrix.
...
- particle.c wasn't setting all components of the vector when reading cache and setting dummy velocity values.
- some functions incorrectly took a float[3] argument when the 4th value was set.
- remove a few redundant lines of code.
2011-08-27 03:20:32 +00:00
Mitchell Stokes
555f6cbe08
BGE: Post drawing callbacks are now done per viewport instead of per scene. This is handy for things like having a different HUD for each player in a splitscreen game. To figure out what viewport you're drawing too, check the scene's active_camera.
2011-08-27 03:19:46 +00:00
Campbell Barton
94b3e83b6c
fix for bug with all rotation modes being treated as euler by the BGE, this bug is in trunk too but fixing here because this code will replace whats in trunk.
...
also make initializers less verbose for ipo transform assignment.
2011-08-27 03:13:54 +00:00
Campbell Barton
70c955c484
remove deprecated & unused sequencer transform vars
2011-08-27 02:59:43 +00:00
Campbell Barton
95c5611570
subtraction on unsigned values didnt work as intended for copying ID's.
2011-08-27 02:45:35 +00:00
Campbell Barton
9ae67bf380
bugfix for procedural textures used as bumpmap with osa not rendering right, also remove redundant assignment.
2011-08-27 02:04:29 +00:00
Campbell Barton
a05d4a729a
remove deprecated & unused mat3_to_vec_rot and mat4_to_vec_rot functions.
2011-08-27 01:42:49 +00:00
Campbell Barton
974a06823e
bge py api XK_GameObject.linVelocityMin was returning linVelocityMax.
2011-08-27 01:37:47 +00:00
Campbell Barton
2311e624d7
eek F4TOCHAR4 was assigning alpha twice too!, tsk tsk.
2011-08-27 01:24:05 +00:00
Campbell Barton
7c02ca7e8c
F3TOCHAR4 macro was assigning the same value twice (setting the alpha, then overwriting with 255).
2011-08-27 01:20:55 +00:00
Campbell Barton
722be28d68
sub_v4_v4v4 was taking float[3] arguments.
2011-08-26 22:37:20 +00:00
Sergey Sharybin
25defed770
Revert back to FFmpeg from lib/<platform>/ffmpeg
2011-08-26 20:50:53 +00:00
Sergey Sharybin
5b8cc731c6
Camera tracking integration
...
===========================
- Stop tracking when marker is too close to the frame boundary.
- Added marker margin to tracking settings.
- Added option to use auto-adoptation each N frames.
- Highlight keyframed frames on cache line with brighter yellow.
2011-08-26 20:14:29 +00:00
Sergey Sharybin
7b692533ae
Merging r39634 through r39716 from trunk into soc-2011-tomato
2011-08-26 20:12:54 +00:00
Campbell Barton
a9dea3afe9
correct missing bpy doc references.
2011-08-26 18:48:48 +00:00
Campbell Barton
f10f4f570d
added a section to gotcha's python bpy docs about unicode encoding problems.
2011-08-26 18:32:23 +00:00
Campbell Barton
8a619a3eee
fix for crash when running a python script in a non utf8 blend path, inspecting the exception for the path assumed utf8.
2011-08-26 17:55:03 +00:00
Sergey Sharybin
1439ddccae
Fix #28301 : Sculpting a object with rotational have desface
...
Patch from Juha Maki-Kanto
- initgrabz was called with local space coord.
- Brush radiu was multiplying by 2.0 for grab and snake brushes.
Not sure why this was needed. Made some tests and didn't notice
any regressions without this multiplication.
2011-08-26 16:38:23 +00:00
Sukhitha Prabhath Jayathilake
cdbb904b32
code review fixes
2011-08-26 15:16:27 +00:00
Howard Trickey
9749a68f20
fix crash when exporting .obj and no materials; added rna access 'append' for material so import obj script doesn't fail
2011-08-26 14:36:30 +00:00
Brecht Van Lommel
1273a1133e
Fix #28370 : border select for curve and metaball did not update number of
...
selected vertices in info header. Patch by Julien Duroure, thanks!
2011-08-26 11:35:33 +00:00
Howard Trickey
a3ef531ece
update depsgraph after collapse; fixes a crash and a display problem when subsurf modifier active
2011-08-26 11:28:42 +00:00
Campbell Barton
e5ddaefecc
when applying armature object transform now transform the bone roll too.
...
This means you can import a BVH, rotate 90d and apply the rotation, the animation will still work as expected - thanks to Benjy's script for showing how obvious it is that this works :)
2011-08-26 06:22:12 +00:00
Campbell Barton
e9ca846018
document some of the pitfalls in the blender python api (taken from frequent mails and bug reports)
2011-08-26 04:00:55 +00:00
Campbell Barton
566da26173
file-selector: when converting operator arguments to the file selector, wasnt making paths absolute (abs paths are made relative when converting the other way).
2011-08-26 01:32:07 +00:00
Campbell Barton
291ae8822d
executing operators that changed the context from the console wasnt returning an operator set/flag.
2011-08-25 17:59:37 +00:00
Campbell Barton
9436769cd4
error when a python operator gave an incorrect return value was near useless, re-raise a more comprehensive error which includes the operator name.
2011-08-25 17:54:30 +00:00
Campbell Barton
166970f68e
bpy-rna - simplify enum string/set parsing.
2011-08-25 17:01:33 +00:00
Howard Trickey
fe98769877
Cleaned up unused variables
2011-08-25 16:47:47 +00:00
Campbell Barton
a244a787de
sanity checks on operator exec/modal/invoke return values.
2011-08-25 16:42:42 +00:00
Alexander Kuznetsov
88ba2504c7
Fix for [ #28304 ]
...
Show A: and B: drives in Windows file browser.
2011-08-25 16:41:08 +00:00
Campbell Barton
b7eac1edcf
picky style edits with screen/view/drawing, also remove own bad example doc.
2011-08-25 15:49:52 +00:00
Jens Verwiebe
b44a82f3c4
ups, syntax error, missing :
2011-08-25 15:18:54 +00:00
Jens Verwiebe
d833d15608
OSX: refine logic for NDOF, if WITH_BF_3DMOUSE is disabled also never do weak-link framework, existing or not
2011-08-25 15:12:57 +00:00
Jens Verwiebe
8b6dfade4d
OSX: fix condition for NDOF linking
2011-08-25 14:49:47 +00:00
Brecht Van Lommel
d48e4fc92b
Cycles: fix linux build issue, link order was wrong.
2011-08-25 12:50:52 +00:00
Jens Verwiebe
3b1192431f
OSX/scons: don´t link to system stubs with 10.7 sdk
2011-08-25 09:41:36 +00:00