Commit Graph

21901 Commits

Author SHA1 Message Date
Campbell Barton
affe84a453 get rid of annoying duplicate python initialization code, added setupGamePython() which initializes modules 2010-01-10 22:03:26 +00:00
Guillermo S. Romero
34794eafe4 SVN maintenance. 2010-01-10 21:58:40 +00:00
Campbell Barton
3a858e84bd blenderplayer building with cmake 2010-01-10 21:33:41 +00:00
Martin Poirier
0f47410509 [#20522] alt+b in object mode has an offset depending on the selected object's origin
View clipping doesn't need object matrix in view transformation (permit NULL object pointer to get global transformation).
2010-01-10 20:31:23 +00:00
Campbell Barton
0185e24861 Make linked animdata working again, copies NLA too, as well as ObData animdata where types match 2010-01-10 20:23:59 +00:00
Martin Poirier
6a15ac70b6 [#20581] Lasso tool ends unexpectedly
Don't limit lasso to 1024 points, just realloc array with increased size when current limit is reached.

Also silence two stupid warnings.
2010-01-10 20:16:56 +00:00
Campbell Barton
b36a05bb7e - fix for crash if drivers were used in the .B.blend
- fix for problem where proxy objects could enter editmode but not exit
2010-01-10 20:01:13 +00:00
Martin Poirier
0bd98195a1 Bug [#20539] Pink Opengl line should disapear
Reset edge loop data when there are no edge near (it doesn't cut when there's no edge near anyway, so the display was missleading)

Also don't do any display setup when there's nothing to display.
2010-01-10 19:56:22 +00:00
Dalai Felinto
580345394e BGE API_DOC: VideoTexture and PhysicsConstraints templates (need the functions to be filled with their description).
PhysicsConstraints is documented in the Game Kit Book:
http://download.blender.org/documentation/gamekit1/

VideoTexture is documented in the wiki:
http://wiki.blender.org/index.php/Dev:Source/GameEngine/2.49/VideoTexture

I don't think I will have time to fill the documentation. But I hope this commit helps someone interested in helping it.

Therefore volunteers to document those modules are highly welcome !!! (let's give to BGE the documentation it deserves)!

* + added GameLogic.Lave/LoadGlobalDict + some typo fixes
2010-01-10 19:35:42 +00:00
Campbell Barton
6b4a8c5d72 attemp to fix [#20610] GHOST_WindowX11.cpp:202: X11 glXChooseVisual() failed, verify working openGL system!
cant test but should work.
2010-01-10 19:21:46 +00:00
Campbell Barton
20df075e38 new rig types from Cessen 2010-01-10 19:20:48 +00:00
Martin Poirier
8fedb7d65f Bug [#20572] Crash Blender - Gkey in Video Sequence Editor
Missing null check in durian fcurve hack (always enabled for some reasons)
2010-01-10 19:19:22 +00:00
Campbell Barton
c723251cc0 rename rig types not to have generic in the name (Cessens decission) 2010-01-10 18:59:32 +00:00
Campbell Barton
57e96e4472 patch from Cessen, update to metarigs and some changes to the rigging main loop.
- property names dont need the bone type prefix anymore
- always add a root bone that all non parented bones are parented to
- x/y/z axis properties for bones.
2010-01-10 18:53:15 +00:00
Nathan Letwory
c8966e5373 * make sure build info is enabled for BF_BUILDINFO (this is enabled by default, and can be set in your user-config.py or other custom config). 2010-01-10 16:29:53 +00:00
Campbell Barton
83e5edf5cb linked scenes were not animating.
this needs fixing properly but for now we need linked data to be animated by its linked actions.
2010-01-10 15:44:42 +00:00
Campbell Barton
3b03984294 Change how 'Main' collection type definitons work so that 'self' can be used without overriding the srna type. 2010-01-10 15:20:22 +00:00
Campbell Barton
e11327b9c9 workaround for a problem with rna collection type definitions.
setting the type for a collection does not work if its set before the type is defined.
2010-01-10 14:40:37 +00:00
Joshua Leung
2c56c59dfe Animation Channels - Protect + Mute toggles flushing:
Protect and Mute toggles now flush their values when changed, like for visibility, making the workflow a bit smoother. Currently, this only takes effect when clicking on the toggles (i.e. the hotkey+select based toggle setting operators don't take this into account yet).
2010-01-10 11:09:30 +00:00
Campbell Barton
e26005795d [#20587] Time field under Stamp (rendering) is always showing 00:00:00.01 2010-01-10 10:50:11 +00:00
Campbell Barton
508371001a [#20624] Creating new shape key always creates from basis, not selected key 2010-01-10 10:33:13 +00:00
Campbell Barton
40e9b1711b bugfix [#20627] Sculting - Mesh without faces crashes
fix own error in py ui also
2010-01-10 10:20:44 +00:00
Stefan Gartner
9da2c0c6c2 add OpenCOLLADA support to Makefiles
add "export WITH_OPENCOLLADA=true" to user-def.mk to enable it
2010-01-10 09:11:48 +00:00
Campbell Barton
08c9ecb3b0 RNA/Py API
change how data is added. eg.
 bpy.data.add_mesh(name) --> bpy.data.meshes.new(name)
 bpy.data.remove_lamp(lamp) --> bpy.data.lamps.remove(lamp)


image and texture stil use add_* funcs
2010-01-09 23:44:01 +00:00
Joerg Mueller
99b713e8b0 Removed game_sound property as it is not working and not necessary anymore. 2010-01-09 22:28:05 +00:00
Martin Poirier
a9aea7e6bf Edge Crease Transform is back. Now in edge menu (Ctrl-E) with Edge Slide and the rest. 2010-01-09 20:42:35 +00:00
Martin Poirier
30f26a2826 Color picker crash fix.
Color arrays in RNA are 4 floats but handlers used 3 floats. Overflow galore.
2010-01-09 19:00:41 +00:00
Martin Poirier
670d55f097 netrender: refactor thumbnail generation code. New option to generate the thumbnail on the slaves (per slave option, default off). Missing thumbnails are still generated on demand by the master. 2010-01-09 18:21:27 +00:00
Thomas Dinges
e3641796c2 Themes:
*Some more cleanup.
*Renamed active_theme to theme_area, active_theme will be useful, when we have multiple themes again. 
*New layout (Theme Area selection is now expanded).

ToDo:
* Nice wrapping of all options for the different spaces, either manual or via auto generation.
Some items are missing, some are in different positions, altough they are available in different areas.
2010-01-09 18:17:40 +00:00
Nicholas Bishop
f125060ed5 == Sculpt ==
* Added a new property to sculpting, ignore_background_click. If this is on, clicks that don't hit the mesh are passed through, so you can set up the keymap to do ZBrush-like rotation with the tablet.
2010-01-09 17:15:02 +00:00
Thomas Dinges
9ac2d072d1 User Preferences:
*More cleanup, still this file gives me a headache.
2010-01-09 15:49:27 +00:00
Matt Ebb
da976570c1 Fix for ColorWheel template 2010-01-09 13:04:43 +00:00
Thomas Dinges
cba7e546d8 User Preferences Themes:
* Code cleanup, for general ui style settings.
2010-01-09 12:05:30 +00:00
Matt Ebb
3564eb7763 Added user preferences for color picker type, includes colour wheel + 3 square types.
Find it in prefs -> system
2010-01-09 06:44:54 +00:00
Matt Ebb
d2b27d00ff Fix for clipped text in splash svn version string - I must have been working around an
extra space at the end of local revision version string.. weird!
2010-01-09 00:49:29 +00:00
Matt Ebb
04dec46c6a Color management fixes
Now it's a bit more robust, tagging images with profiles when they're loaded, 
which then get interpreted later on by conversion functions. Just Linear RGB 
and sRGB profiles at the moment, same as before.

This commit fixes Martin's problem with EXRs and Multilayer images loading/
saving too dark, and it also makes the sequence editor work correctly with it too.

Also fixes:
[#19647] gamma correction with color management is reset when resetting Curve
[#19454] 2.5: Dither does not work when Color management is enabled
2010-01-09 00:16:35 +00:00
Campbell Barton
e62e66fe8a corect error in last commit. 2010-01-08 20:55:13 +00:00
Brecht Van Lommel
9ceed4043f Fix #19659, #20387, #20489, part of #20565. VBO's in edit mode were not
working well, and no one seems to be fixing it, so I've just removed the
code for this. It has to be replaced eventually for bmesh anyway.
2010-01-08 17:53:17 +00:00
Martin Poirier
eb2e64afa5 netrender: bugfix to make thumbnails work correctly when running master through the UI (not in background) [context is borked in that case]. Also show number of threads settings in slave settings (reusing render setting) and force that setting when rendering jobs. 2010-01-08 17:52:21 +00:00
Campbell Barton
1f1245a92a Remap Relative paths save option.
If you have a blend file and want to save in a new directory enabling this will save with the paths corrected relative to the new directory.
2010-01-08 17:50:55 +00:00
Martin Poirier
5dffae2346 RNA Function Save Image accepts a Scene as optional argument (for image parameters). It uses the scene in context otherwise. 2010-01-08 17:47:27 +00:00
Brecht Van Lommel
b504a48854 FSAA: was not disabled on X11 correctly. 2010-01-08 17:41:04 +00:00
Brecht Van Lommel
14646a143b Fix #20613: crash with subsurf+shrinkwrap+smooth modifiers. 2010-01-08 17:38:16 +00:00
Brecht Van Lommel
e5b2fcfa40 Fix #20592: camera name drawing was unreadable, accidentally drawn
using stippled line.
2010-01-08 14:45:26 +00:00
Damien Plisson
f9be960690 Fix quicktime QtKit compile issue 2010-01-08 14:42:52 +00:00
Brecht Van Lommel
8f7c106e64 Fix #20604: Make Normals Consistent (Ctrl N) doesn't respect selection. 2010-01-08 14:41:32 +00:00
Damien Plisson
05af8dfe53 Disable anti-aliasing initialization, was causing GL_SELECT issues
NVidia (at least) GL drivers don't provide correct picking through GL_SELECT when the GL context is initialized with sample buffers.

So we can't have FSAA on for now as it breaks border,lasso,.. select.
2010-01-08 14:40:47 +00:00
Campbell Barton
a868e8623c - RNA support for returning copied strings from functions, flagging strings as PROP_THICK_WRAP does this.
- scene.render_data.frame_path(frame=num), returns the output path for rending images of video.
- scene.render_data.file_extension, readonly attribute, gives the extension ".jpg", ".mov" etc
- player support was guessing names, use the above functions to get the actual names used, accounting for #'s replacing numbers.
2010-01-08 13:52:38 +00:00
Joshua Leung
7079047538 Animation Channels Drawing Tweak:
A solid color backdrop is now drawn behind the mute/protect toggles and sliders, reducing the visual clutter with long names still appearing behind the UI widgets.
2010-01-08 11:14:30 +00:00
Thomas Dinges
1b83b9c8b0 Fix:
*WORLD_PT_custom_props missed COMPAT_ENGINES declaration.
2010-01-08 10:11:04 +00:00