Commit Graph

26964 Commits

Author SHA1 Message Date
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 Jayathilake cdbb904b32 code review fixes 2011-08-26 15:16:27 +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
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
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
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
Campbell Barton f9bffb3ca0 fix [#28340] Can't set image depth, quality from image save 2011-08-24 00:44:58 +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
Campbell Barton 9a9513a9f0 fix for 3 bugs in bone renaming
- renaming a bone could crash if the area had to spaces in it (reported by Sebastian Koenig).
- renaming bones wouldn't  update inactive 3d views locked bone names.
- selecting locked bones in the UI didnt work in editmode.
2011-08-23 19:58:15 +00:00
Campbell Barton f6a2b8d724 BLI_strescape for a basic, python like string escaping, currently only use for drag and drop ID's into the console but should eventually be used for the animsys too. 2011-08-23 15:08:54 +00:00
Brecht Van Lommel abff0032c4 Fix #28343: glsl error after derivative maps commit. 2011-08-23 13:15:18 +00:00
Bastien Montagne e890469073 Merging r39486 through r39651 from trunk into vgroup_modifiers. 2011-08-23 12:45:35 +00:00
Bastien Montagne cd6f93bdc9 vgroup_modifiers: Definitively removed addtionnal mapping/clamping options in WeightVGEdit mod, including from DNA struct. 2011-08-23 12:33:45 +00:00
Campbell Barton 6fd68b8d76 fix [#28336] Particles: setting to zero the count of all elements of a group crashes Blender 2011-08-23 12:09:20 +00:00
Campbell Barton ba4fd78fac fix [#28344] for this file, the multires smiley has 2 materials, but only 1 loads 2011-08-23 11:46:16 +00:00
Joerg Mueller ff8daca1f1 Bugfix: Removing a sound from a speaker resulted in a crash. 2011-08-23 11:44:24 +00:00
Campbell Barton ce9e4472eb Make Ctrl+RMB in editmode behave like 2.4x, was re-using center option which worked but used center select too.
instead add 'object' option to VIEW3D_OT_select.
2011-08-23 09:05:12 +00:00
Thomas Dinges ed3d253c56 Fix for [#28339] Rev:39618 The revision part doesn't suffice.
NAN_BUILDINFO > WITH_BUILDINFO change from rev 39618 was missing in those files.
2011-08-23 08:02:48 +00:00
Campbell Barton 34b7bff44b change compression level for gzip saving to 1, approx twice as fast when saving a 194mb blend file and only slightly bigger. 2011-08-23 07:59:25 +00:00
Joerg Mueller f0d5abfcb2 Merging trunk up to r39637. 2011-08-22 20:31:46 +00:00
Morten Mikkelsen 6a374d266d glsl and render support for derivative maps 2011-08-22 19:57:54 +00:00
Campbell Barton c33e0c053a fix for buildinfo changes with blenderplayer 2011-08-22 19:13:26 +00:00
Joerg Mueller a71c215f22 3D Audio GSoC:
Final GSoC commit.

* Bugfix: Negative frames crashed
* Bugfix: JOS sample buffer size prediction error (wasted memory)
* Optimisation: for JOS upsampling (around 12 % difference measured here)
* Optimisation: Better filter for JOS resampling
* Bugfix: Error in relative 3D audio code.
* Removed Attenuation
* Bugfix: Multiple scenes in BGE lead to errors, BGE audio now all relative, to support multiple scenes.
2011-08-22 18:59:56 +00:00
Morten Mikkelsen a9d9a8e569 actually, this if is still marginally good to have 2011-08-22 18:56:13 +00:00