Commit Graph

25846 Commits

Author SHA1 Message Date
Janne Karhu
a1ff472e07 Particle edit brush strengths were loaded wrong for old files. 2010-09-14 09:32:43 +00:00
Dalai Felinto
46f25680aa blenderplayer fix for "offset" problem when in fullscreen mode (worked together with Nathan Letwory - jesterKing)
The FullScreen state was never set. Therefore the window boundary was returning the wrong dimensions (it was assuming that it was not fullscreen).

* Note: blender.exe -W has a similar problem. We are working on that ...

Tested in Windows only. If someone can test in Linux and OSX please let me know if it's good there as well. To test it: ./blenderplayer -f myfile.blend
2010-09-14 08:19:42 +00:00
Campbell Barton
74b2022a82 button to remove presets.
note: this is an option to the add preset operator which is a bit odd but easiest since these classes have all the info needed for removal as well.
2010-09-14 04:58:25 +00:00
Janne Karhu
7245177c26 Fix for a particles memory leak:
* Hair wasn't freed properly when changing particles from hair to normal particles.
2010-09-14 01:47:01 +00:00
Janne Karhu
ca940016e1 Fix for [#20350] particles are offset from emittor in dupli-objects 2010-09-14 01:43:46 +00:00
Dalai Felinto
9cc3f7dd98 "flip -> pen_flip" missing rename on particle edit mode
(it was raising the error RNA_boolean_set OperatorStrokeElement.flip not found ) [Thanks Mike for spotting that :p]
2010-09-14 01:11:54 +00:00
Campbell Barton
1a58c6af7e revert 31916, while having the image name and the material name mixed, this is intentional else texface export breaks.
ideally this would only happen in cases where there are more then 1 image so we could avoid ugly names in common cases.
  svn merge -r31916:31915  release/scripts/op/io_scene_obj/export_obj.py
2010-09-14 01:10:20 +00:00
Nathan Letwory
a02e69064d Fix [#23761] OBJ exported materialname wrong
Reported by Reiner Prokein.

Just use the material name instead of concatenating with any image names to it.
2010-09-14 00:45:37 +00:00
Nathan Letwory
4dc52feb70 Fix one more case of z_transparency 2010-09-14 00:30:45 +00:00
Nathan Letwory
4554278a1c Apply patch [#23782] Fix typo in netrender UI
Submitted by Imran Syed (freakabcd)
2010-09-13 22:57:35 +00:00
Campbell Barton
55f7451c52 fix for sphinx doc generation 2010-09-13 13:29:54 +00:00
Nathan Letwory
ba2a9ae88e Fix [#22612] FFMPEG writes incorrect Xvid FourCC code
Reported by Karl Nyman

When XVID is chosen for FFMPEG make sure that XVID is written for FourCC code.
2010-09-13 12:56:39 +00:00
Janne Karhu
74f060bfe5 Fix for [#23729] Smoke / Edit Mode bug 2010-09-13 11:14:12 +00:00
Dalai Felinto
898e7857f4 blenderplayer parsing code (better) fix
After last commit I realized that we have a different behavior when running blenderplayer or a runtime. Reason being is that when running blenderplayer the filename is mandatory. While in runtime mode it has no use for it (it can still be passed, but it makes no difference).

I also updated the -h (help) message to be multiplataform and to pass the filename argument only when in blenderplayer mode.

If someone wants to have fun it would be nice to port the blender new parsing code to the gameplayer.
* note: how come "noaudio" is used in the examples but it's not in the options list? *ouch*
I'm leaving as it's in case noaudio get implemented ...
2010-09-13 08:30:56 +00:00
Campbell Barton
88fac85123 avoid re-creating and assigning addon UI properties for every redraw 2010-09-13 08:16:31 +00:00
Campbell Barton
cd1dc29e65 patch [#23221] Merge bone : Within chains : infinite loop
from Yvon Tanguy (vono)
2010-09-13 07:30:11 +00:00
Campbell Barton
0c815a42fd bugfix [#23528] ED_pose_channel_in_IK_chain() doesn't take length of IK chain into account 2010-09-13 06:57:03 +00:00
Campbell Barton
bd5a62cfcb bugfix [#23068] Image editor: Update Automatically not updating the compositor.
[#23637] Replacing an image used in the compositor crashes
       [#23343] changes in images doesn't update compositor image nodes
2010-09-13 06:08:26 +00:00
Campbell Barton
18702a9eef bugfix [#23001] Addons do not unregister properly in Blender 2.5.3
Now reloading the user defaults also unloads/loads addons, resetting the state to the one set in the user preferences.

moved addon functions into bpy.utils
- bpy.utils.addon_enable(name, default_set=True)
- bpy.utils.addon_disable(name, default_set=True)
- bpy.utils.addon_reset_all(name, default_set=True)

the user preference operators now just wrap these.
2010-09-13 04:52:56 +00:00
Dalai Felinto
9153e82d21 blenderplayer commandline argument fixes (for -f and -w)
argc always include the filename, therefore all the optional parameters should check for < argc instead of <=argc.

E.g. That was causing "blenderplayer -f 800 600 myfile.blend" to play in a wrong  Bpp (since it was trying to parse the filename to fullScreenBpp).

Bug introduced on rev. 16448 (in 2.49) and merged to 2.5 in rev. 19323
2010-09-13 04:52:20 +00:00
Campbell Barton
7c9bf53bf1 bugfix [#23778] obj importing forgets to enable transparent into material 2010-09-13 02:35:59 +00:00
Joshua Leung
a82874c2ee Animation Editors: Added menu entry for deleting selected channels, as requested by animator working with Matt 2010-09-13 00:53:47 +00:00
Joshua Leung
c4a83ec086 Bugfix: Timeline did not refresh when changing selecting a bone
This happened/was most noticeable when clicking on a bone of an armature in posemode but not active (i.e. some object other than the armature is active when trying to select the bone).
2010-09-13 00:47:12 +00:00
Nathan Letwory
4038ca3e71 Fix import of material with z transp enabled.
Reported by Heikki Lehikoinen in #blender.fi
2010-09-12 20:24:15 +00:00
Arystanbek Dyussenov
396aece473 Partial fix of bug #23543 in COLLADA exporter:
* multiply the diffuse and specular colors by their respective intensities
* only output <transparency> if MA_TRANSP flag is on
* only output <reflective> and <reflectivity> if MA_RAYMIRROR flag is on
2010-09-12 20:19:15 +00:00
Campbell Barton
4bba0e3397 spec files for building arch linux packages (pacman) 2010-09-12 16:00:12 +00:00
Campbell Barton
b6a36a3b89 silance compiler warning. 2010-09-12 14:46:41 +00:00
Martin Poirier
797bb93b21 bugfix for [#23737] reported by Mariusz Maximus
netrender client's functions to get slaves and jobs info didn't work anymore (was reading response content twice).

At the same time, I switched to json for the dump and load, instead of using eval and repr (for obvious security reasons). I should have done this much earlier.
2010-09-12 14:04:54 +00:00
Campbell Barton
74059891e9 option to disable ITASC IK solver, (will be enabled by default ofcourse)
- option only available to cmake, scons and make have this enabled always.
- without this clang/llvm can compile blender
- this was the second biggest internal lib, 192mb -> 172mb for all blenders libs (with debug flags), so gives some speedup to linking.
2010-09-12 12:27:12 +00:00
Campbell Barton
d0a1b76fe4 use relative paths for ghost/cmake 2010-09-12 12:16:50 +00:00
Campbell Barton
1fdfcf47a0 building without python was broken 2010-09-12 12:09:31 +00:00
Nathan Letwory
97964e5766 Fix [#23770] io_anim_bvh reloads the wrong module
Spotted and fixed provided by Tim Baker
2010-09-11 23:13:47 +00:00
Dalai Felinto
3a2fc4d6dc BGE module reshuffling - VideoTexture -> bge.texture
this was the one module left to be renamed.

We didn't get to any conclusion in the mailing list, but Campbell suggested texture and I think its a good name. We can change any time before next Beta, but for now I think it's handy to have something.

The original proposal is from May:
http://lists.blender.org/pipermail/bf-committers/2010-May/027587.html
2010-09-11 19:38:11 +00:00
Thomas Dinges
9ce624f6f6 Removed a "properties" too much. :/ 2010-09-11 15:33:30 +00:00
Campbell Barton
386bd71240 pyrna: replace method for operators forwarding getattr/setattr access from self.* to self.properties.* 2010-09-11 15:13:22 +00:00
Campbell Barton
38669bd5fd - added PNG image export option to UV layout (was only SVG and EPS which was annotying for some users)
- support for non utf8 paths when exporting UV layout.
2010-09-11 10:31:50 +00:00
Campbell Barton
ae6e013c15 new materials and cameras had incorrect usercounts when added from python 2010-09-11 06:27:38 +00:00
Campbell Barton
5d229db946 incorrect docstring 2010-09-11 06:15:37 +00:00
Campbell Barton
b2b0869212 - camera max zoom limit was inconsistent
- camera pan now follows the mouse
2010-09-11 04:39:00 +00:00
Campbell Barton
63a8056839 - py api splash URL was old, use blender version (menu was ok in the menu)
- netrender reloading fix
2010-09-11 04:23:45 +00:00
Matt Ebb
1fe90ba049 Fixed the splash screen: previous had incorrect colour, typography, no transparent header. 2010-09-11 00:19:38 +00:00
Matt Ebb
0df7cde29a Fix for own stupid bug the other day, messed up the gradients in selected/deselected UI elements.
Didn't know beta was going to be today, really hope this makes it in!
2010-09-11 00:08:07 +00:00
Thomas Dinges
cd4fb20b73 Patch [#23759] more replace self.properties.foo --> self.foo for bf-extensions/trunk/py/scripts
by Filiciss Muhgue (filiciss). Thanks a lot!

Part 1: Trunk, second part of patch will be committed to Extensions.
2010-09-10 23:39:43 +00:00
Ton Roosendaal
40bf22e955 Part 4 of 2.54 beta commits (last) 2010-09-10 16:39:08 +00:00
Ton Roosendaal
f1df602048 Part 3 of 2.54 commits (1 more!) 2010-09-10 16:34:03 +00:00
Ton Roosendaal
61c50403b0 Part 1 of 2.54 beta build commit 2010-09-10 16:29:19 +00:00
Campbell Barton
bf18e89396 fix for error updating rigify UI classes 2010-09-10 16:07:18 +00:00
Arystanbek Dyussenov
5416fee99a Bug #23715: patch by Jan Diederich to avoid having duplicate IDs after they are translated.
For example, object ID names "1a", "2a", "3a", will be exported as "_a", "_a2", "_a3". Thanks Jan!
2010-09-10 15:24:10 +00:00
Campbell Barton
5559a0d52e rewrote python IDProperty metaclass in C, this was a quick hack to get it working.
The reason this didnt work is all sibclasses of pythons type() or PyType_Type in C, have to have their size set to sizeof(PyHeapTypeObject) rather then sizeof(PyTypeObject) as you might expect.
This is strange since its not a heap-class (defined in pythons runtime), but a static C type, so Im not sure about this, and cant find any documentation but it seems to work ok.
2010-09-10 14:54:50 +00:00
Janne Karhu
fc6d27313b Fix for [#23090] Blender 2.5 : move object to new layer crashes Blender 2010-09-10 08:36:14 +00:00