Commit Graph

53000 Commits

Author SHA1 Message Date
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
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
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
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
Campbell Barton
a9dea3afe9 correct missing bpy doc references. 2011-08-26 18:48:48 +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
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
Brecht Van Lommel
d48e4fc92b Cycles: fix linux build issue, link order was wrong. 2011-08-25 12:50:52 +00:00
Janne Karhu
44f7a8aee2 Fix for [#28239] Particles Billboard 3x3 Split Error.
* Patch by Alex Fraser.
2011-08-25 07:30:12 +00:00
Jeroen Bakker
5f66f37e22 Patch for bug #28289
updated the logic behind node delete with reconnect.
When on input and output socket is connected, these two will be reconnected
see bug report for example.

http://projects.blender.org/tracker/?func=detail&aid=28289&group_id=9&atid=498
2011-08-24 20:48:37 +00:00
Mitchell Stokes
7fc26e0123 Committing patch #25675 "Make "Cast Buffer Shadows" option work in viewport and BGE" by me.
Description from the tracker:
"It's really handy to be able to prevent an object/material from casting a shadow. So, I made use of the Cast Buffer Shadows option in the material settings, and made it work in the viewport and the BGE."
2011-08-24 20:28:54 +00:00
Campbell Barton
9ad6434c4e opencollada find module. hopefully solves the problem where includes can in an /include subdir or not. 2011-08-24 16:04:35 +00:00
Campbell Barton
82e622f158 fix [#28356] Import export STL files, problem in script in version r39307
& correct some bad comments.
2011-08-24 14:22:41 +00:00
Brecht Van Lommel
564eae2dc4 Cycles: remove automatic copy of boost/openimageio shared libraries to binary
folder, this doesn't work well, proper solution is to statically link these in
official builds.
2011-08-24 13:43:34 +00:00
Brecht Van Lommel
29bdf37f9d Cycles: svn merge -r39457:39669 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-08-24 09:44:08 +00:00
Campbell Barton
fd0c9afdd1 some floats were being promoted to doubles in subsurf code 2011-08-24 02:44:26 +00:00
Campbell Barton
1367d6c32f minor edits needed to build again 2011-08-24 02:43:35 +00:00
Campbell Barton
fd4575b2e3 svn merge -r39493:39664 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-08-24 02:29:45 +00:00
Campbell Barton
98f87b77f4 svn merge -r39433:39493 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-08-24 01:44:54 +00:00
Campbell Barton
f9bffb3ca0 fix [#28340] Can't set image depth, quality from image save 2011-08-24 00:44:58 +00:00
Tamito Kajiyama
33bb1ed53e Merged changes in the trunk up to revision 39661. 2011-08-24 00:18:26 +00:00
Campbell Barton
3bb397be76 fix [#28351] active RenderLayer can be set to None, leading to crash 2011-08-23 20:54:44 +00:00
Campbell Barton
a35b3c5b50 fix [#28352] Deleting group name in particle system -> panel: Render crashes Blender 2011-08-23 20:49:06 +00:00