Campbell Barton [Mon, 11 Jan 2010 10:48:41 +0000 (10:48 +0000)]
- player building again
- fix for compiler warnigns
- bpath reporting was incorrect
Brecht Van Lommel [Mon, 11 Jan 2010 10:22:24 +0000 (10:22 +0000)]
Fix #20619: subsurf + explode modifier crash.
Matt Ebb [Mon, 11 Jan 2010 06:57:41 +0000 (06:57 +0000)]
Fix [#20600] First added camera is not made active
Also forced view align on when adding cameras
Joshua Leung [Mon, 11 Jan 2010 06:32:05 +0000 (06:32 +0000)]
Graph Editor: Snapping + Cursor
Added buttons beside the numeric inputs for cursor location to make it more obvious how the cursor can be used for numeric manipulation of selected keyframes.
Matt Ebb [Mon, 11 Jan 2010 05:55:34 +0000 (05:55 +0000)]
* Restored vertex parent
The operator was already there and written, just didn't have a hotkey
assigned. Gave it an icky popup menu like object mode parent until we
get a nice non-blocking report viewer.
Matt Ebb [Mon, 11 Jan 2010 05:32:01 +0000 (05:32 +0000)]
* Removed popups from curve select random and Nth, also edited
select random code to use the same logic as select random for meshes
(with extend property as well)
Matt Ebb [Mon, 11 Jan 2010 05:10:57 +0000 (05:10 +0000)]
* Restored font selection functionality with open font and unlink font operators,
so you can change the font of 3D text objects.
Matt Ebb [Mon, 11 Jan 2010 01:26:16 +0000 (01:26 +0000)]
* Tweak for splash screen rev. info - dalai, does this look ok on your machine?
* Added very feint separator lines in menus
Campbell Barton [Mon, 11 Jan 2010 00:41:31 +0000 (00:41 +0000)]
rna/py api
bpy.data.scenes.remove(scene) # now works without crashing
bpy.data.texts.new(name)/remove(text)/load(path) # added
Campbell Barton [Sun, 10 Jan 2010 23:18:09 +0000 (23:18 +0000)]
change the defaults for solidify since users are getting unexpected spikes because of the 'Even Thickness' option.
For buildings this is nice but for cloth and random mesh input it ends up giving ugly spikes.
Guillermo S. Romero [Sun, 10 Jan 2010 22:52:40 +0000 (22:52 +0000)]
Request different OpenGL oversampling levels before giving up.
Campbell Barton [Sun, 10 Jan 2010 22:15:29 +0000 (22:15 +0000)]
evil 1 liner to get bge.logic, bge.render, bge.keys etc.. may eventually replace GameLogic, GameKeys module names.
Campbell Barton [Sun, 10 Jan 2010 22:03:26 +0000 (22:03 +0000)]
get rid of annoying duplicate python initialization code, added setupGamePython() which initializes modules
Guillermo S. Romero [Sun, 10 Jan 2010 21:58:40 +0000 (21:58 +0000)]
SVN maintenance.
Campbell Barton [Sun, 10 Jan 2010 21:33:41 +0000 (21:33 +0000)]
blenderplayer building with cmake
Martin Poirier [Sun, 10 Jan 2010 20:31:23 +0000 (20:31 +0000)]
[#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).
Campbell Barton [Sun, 10 Jan 2010 20:23:59 +0000 (20:23 +0000)]
Make linked animdata working again, copies NLA too, as well as ObData animdata where types match
Martin Poirier [Sun, 10 Jan 2010 20:16:56 +0000 (20:16 +0000)]
[#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.
Campbell Barton [Sun, 10 Jan 2010 20:01:13 +0000 (20:01 +0000)]
- fix for crash if drivers were used in the .B.blend
- fix for problem where proxy objects could enter editmode but not exit
Martin Poirier [Sun, 10 Jan 2010 19:56:22 +0000 (19:56 +0000)]
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.
Dalai Felinto [Sun, 10 Jan 2010 19:35:42 +0000 (19:35 +0000)]
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
Campbell Barton [Sun, 10 Jan 2010 19:21:46 +0000 (19:21 +0000)]
attemp to fix [#20610] GHOST_WindowX11.cpp:202: X11 glXChooseVisual() failed, verify working openGL system!
cant test but should work.
Campbell Barton [Sun, 10 Jan 2010 19:20:48 +0000 (19:20 +0000)]
new rig types from Cessen
Martin Poirier [Sun, 10 Jan 2010 19:19:22 +0000 (19:19 +0000)]
Bug [#20572] Crash Blender - Gkey in Video Sequence Editor
Missing null check in durian fcurve hack (always enabled for some reasons)
Campbell Barton [Sun, 10 Jan 2010 18:59:32 +0000 (18:59 +0000)]
rename rig types not to have generic in the name (Cessens decission)
Campbell Barton [Sun, 10 Jan 2010 18:53:15 +0000 (18:53 +0000)]
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.
Nathan Letwory [Sun, 10 Jan 2010 16:29:53 +0000 (16:29 +0000)]
* 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).
Campbell Barton [Sun, 10 Jan 2010 15:44:42 +0000 (15:44 +0000)]
linked scenes were not animating.
this needs fixing properly but for now we need linked data to be animated by its linked actions.
Campbell Barton [Sun, 10 Jan 2010 15:20:22 +0000 (15:20 +0000)]
Change how 'Main' collection type definitons work so that 'self' can be used without overriding the srna type.
Campbell Barton [Sun, 10 Jan 2010 14:40:37 +0000 (14:40 +0000)]
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.
Joshua Leung [Sun, 10 Jan 2010 11:09:30 +0000 (11:09 +0000)]
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).
Campbell Barton [Sun, 10 Jan 2010 10:50:11 +0000 (10:50 +0000)]
[#20587] Time field under Stamp (rendering) is always showing 00:00:00.01
Campbell Barton [Sun, 10 Jan 2010 10:33:13 +0000 (10:33 +0000)]
[#20624] Creating new shape key always creates from basis, not selected key
Campbell Barton [Sun, 10 Jan 2010 10:20:44 +0000 (10:20 +0000)]
bugfix [#20627] Sculting - Mesh without faces crashes
fix own error in py ui also
Stefan Gartner [Sun, 10 Jan 2010 09:11:48 +0000 (09:11 +0000)]
add OpenCOLLADA support to Makefiles
add "export WITH_OPENCOLLADA=true" to user-def.mk to enable it
Campbell Barton [Sat, 9 Jan 2010 23:44:01 +0000 (23:44 +0000)]
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
Joerg Mueller [Sat, 9 Jan 2010 22:28:05 +0000 (22:28 +0000)]
Removed game_sound property as it is not working and not necessary anymore.
Martin Poirier [Sat, 9 Jan 2010 20:42:35 +0000 (20:42 +0000)]
Edge Crease Transform is back. Now in edge menu (Ctrl-E) with Edge Slide and the rest.
Martin Poirier [Sat, 9 Jan 2010 19:00:41 +0000 (19:00 +0000)]
Color picker crash fix.
Color arrays in RNA are 4 floats but handlers used 3 floats. Overflow galore.
Martin Poirier [Sat, 9 Jan 2010 18:21:27 +0000 (18:21 +0000)]
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
Thomas Dinges [Sat, 9 Jan 2010 18:17:40 +0000 (18:17 +0000)]
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.
Nicholas Bishop [Sat, 9 Jan 2010 17:15:02 +0000 (17:15 +0000)]
== 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.
Thomas Dinges [Sat, 9 Jan 2010 15:49:27 +0000 (15:49 +0000)]
User Preferences:
*More cleanup, still this file gives me a headache.
Matt Ebb [Sat, 9 Jan 2010 13:04:43 +0000 (13:04 +0000)]
Fix for ColorWheel template
Thomas Dinges [Sat, 9 Jan 2010 12:05:30 +0000 (12:05 +0000)]
User Preferences Themes:
* Code cleanup, for general ui style settings.
Matt Ebb [Sat, 9 Jan 2010 06:44:54 +0000 (06:44 +0000)]
Added user preferences for color picker type, includes colour wheel + 3 square types.
Find it in prefs -> system
Matt Ebb [Sat, 9 Jan 2010 00:49:29 +0000 (00:49 +0000)]
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!
Matt Ebb [Sat, 9 Jan 2010 00:16:35 +0000 (00:16 +0000)]
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
Campbell Barton [Fri, 8 Jan 2010 20:55:13 +0000 (20:55 +0000)]
corect error in last commit.
Brecht Van Lommel [Fri, 8 Jan 2010 17:53:17 +0000 (17:53 +0000)]
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.
Martin Poirier [Fri, 8 Jan 2010 17:52:21 +0000 (17:52 +0000)]
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.
Campbell Barton [Fri, 8 Jan 2010 17:50:55 +0000 (17:50 +0000)]
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.
Martin Poirier [Fri, 8 Jan 2010 17:47:27 +0000 (17:47 +0000)]
RNA Function Save Image accepts a Scene as optional argument (for image parameters). It uses the scene in context otherwise.
Brecht Van Lommel [Fri, 8 Jan 2010 17:41:04 +0000 (17:41 +0000)]
FSAA: was not disabled on X11 correctly.
Brecht Van Lommel [Fri, 8 Jan 2010 17:38:16 +0000 (17:38 +0000)]
Fix #20613: crash with subsurf+shrinkwrap+smooth modifiers.
Brecht Van Lommel [Fri, 8 Jan 2010 14:45:26 +0000 (14:45 +0000)]
Fix #20592: camera name drawing was unreadable, accidentally drawn
using stippled line.
Damien Plisson [Fri, 8 Jan 2010 14:42:52 +0000 (14:42 +0000)]
Fix quicktime QtKit compile issue
Brecht Van Lommel [Fri, 8 Jan 2010 14:41:32 +0000 (14:41 +0000)]
Fix #20604: Make Normals Consistent (Ctrl N) doesn't respect selection.
Damien Plisson [Fri, 8 Jan 2010 14:40:47 +0000 (14:40 +0000)]
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.
Campbell Barton [Fri, 8 Jan 2010 13:52:38 +0000 (13:52 +0000)]
- 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.
Joshua Leung [Fri, 8 Jan 2010 11:14:30 +0000 (11:14 +0000)]
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.
Thomas Dinges [Fri, 8 Jan 2010 10:11:04 +0000 (10:11 +0000)]
Fix:
*WORLD_PT_custom_props missed COMPAT_ENGINES declaration.
Brecht Van Lommel [Fri, 8 Jan 2010 09:30:36 +0000 (09:30 +0000)]
FSAA: properly disable it for first window draw, remove obsolete backbuffer
disable code, and only enable it for 3d drawing in the 3d view.
Campbell Barton [Fri, 8 Jan 2010 08:54:41 +0000 (08:54 +0000)]
custom properties panels for most ID types. use subclassing to keep panel UI definitions minimal
Matt Ebb [Fri, 8 Jan 2010 06:05:42 +0000 (06:05 +0000)]
Fix for problems in previous commit when buildinfo wasn't enabled.
Matt Ebb [Fri, 8 Jan 2010 05:54:03 +0000 (05:54 +0000)]
Properly refresh the node tree when making links with the node Make Links tool
Matt Ebb [Fri, 8 Jan 2010 05:51:51 +0000 (05:51 +0000)]
Added the svn revision number to the splash screen (when buildinfo is
enabled). Also fixed cmake so buildinfo works.
Note to all:
** Please mention the revision number when making a bug report **
Martin Poirier [Fri, 8 Jan 2010 03:55:06 +0000 (03:55 +0000)]
Make the image open operator work even if there's no scene in context.
Guillermo S. Romero [Fri, 8 Jan 2010 02:54:33 +0000 (02:54 +0000)]
SVN maintenance.
Martin Poirier [Fri, 8 Jan 2010 02:45:51 +0000 (02:45 +0000)]
Image RNA api: Don't crash if can't acquire buffer from image when saving image to disk.
Martin Poirier [Fri, 8 Jan 2010 02:33:20 +0000 (02:33 +0000)]
netrender:
thumbnails on the web interface (resized with imagemagick or compatible if present, fullsize otherwise)
Clicking on the "show" link shows the thumbnail associated with one frame. Clicking on a second one shows all frames in the range. Clicking on more frames extends the range. Clicking on a thumbnail (or on the show link of a visible thumbnail) hides all thumbnails.
Joshua Leung [Fri, 8 Jan 2010 02:02:52 +0000 (02:02 +0000)]
Bugfix #20605: Shape key values not keyable from mesh data panel. Keyable from Datablock browser.
See the bugreport comments for full breakdown of the fix.
--
The change in brush.c is to get blender compiling again, after my previous commit which tried to fix a compiler warning related to this (but in the header file instead).
Joshua Leung [Fri, 8 Jan 2010 01:39:41 +0000 (01:39 +0000)]
Grease Pencil: Lock current frame option
It is now possible to make Grease Pencil Layers to keep displaying and editing the current sketch-frame with this option. This allows to draw a frame which contains markings made for different times (i.e. a spacing/timing chart that you can keep adding to as you scrub to different points on the timeline).
Use the clipboard/camera toggle (the one beside the visibility toggle) to enable. This should get an icon of its own at some point...
Campbell Barton [Fri, 8 Jan 2010 01:14:06 +0000 (01:14 +0000)]
fly mode doesnt need this workaround now - it broke fly mode when the camera was a child of another object.
Guillermo S. Romero [Thu, 7 Jan 2010 23:23:00 +0000 (23:23 +0000)]
Do not ask for AA if not supported.
Joshua Leung [Thu, 7 Jan 2010 22:54:05 +0000 (22:54 +0000)]
Animation Visualisation Cleanups - Part 2:
* Finished baking code for motion paths, generalising it so that it works for both Objects and Bones.
It is based on the old code for baking bones, although I have modified the updating code to use a more 'correct' method of updating dependencies. However, this may turn out to be too slow, and another API method should be added for that...
* Moved some of the old version-patching code for animviz settings out of the drawing functions, instead doing this on the version patching proper.
* Added RNA support for the new AnimViz types, and included RNA access via their users too. The old settings have still been left in for now, since there are still some things not ready to use yet.
----
* F-Curve's with sample points (i.e. sounds to F-Curves) now perform linear interpolation between sample points instead of using constant interpolation.
Campbell Barton [Thu, 7 Jan 2010 22:51:17 +0000 (22:51 +0000)]
armature properties panel
Matt Ebb [Thu, 7 Jan 2010 22:42:59 +0000 (22:42 +0000)]
* Use color wheel template for RGB node
Campbell Barton [Thu, 7 Jan 2010 21:58:28 +0000 (21:58 +0000)]
Viewport AA for X11
Matt Ebb [Thu, 7 Jan 2010 21:52:04 +0000 (21:52 +0000)]
Add ability to cancel/revert dragging on color picker widgets with Escape, same as other widgets
Martin Poirier [Thu, 7 Jan 2010 20:25:51 +0000 (20:25 +0000)]
rna image api: with dummy ImageUser, this can save RenderResults now.
Brecht Van Lommel [Thu, 7 Jan 2010 19:58:17 +0000 (19:58 +0000)]
Fix for memmove error in RNA collecton remove, could crash on
removing items in some circumstances.
Martin Poirier [Thu, 7 Jan 2010 19:01:43 +0000 (19:01 +0000)]
netrender bug: master server clean on exit (off by default) was deleting on folder too low in the hierarchy (/tmp/ instead of /tmp/master_<pid>/). That was nasty but I'd be surprised if it affected anybody.
Martin Poirier [Thu, 7 Jan 2010 18:54:47 +0000 (18:54 +0000)]
netrender
jpeg versions of the render results are downloadable from the web interface.
Notes:
1) They are generated (and written to disk) on demand on the master in the same Blender instance, so this will increase memory usage (until there's a way to free and image buffer from memory or it's run in a separate process).
2) They are darker then the real results, since multilayer exr contain the result before gamma correction (for the linear workflow) and that's not applied when loading them as an image.
3) They are NOT thumbnails, they are the same size as the results (albeit at 90% quality jpeg compression)
Martin Poirier [Thu, 7 Jan 2010 16:57:17 +0000 (16:57 +0000)]
Make scene optional in BKE_write_ibuf (only used for stamping)
Campbell Barton [Thu, 7 Jan 2010 16:19:38 +0000 (16:19 +0000)]
group instance still didnt work in some cases, now tag ID flag when linking as well as appending so its easy to know if an ID is newly added or not.
Campbell Barton [Thu, 7 Jan 2010 14:59:22 +0000 (14:59 +0000)]
last commit didnt work properly, all groups were added. Tested to work with existing groups, link & append.
Campbell Barton [Thu, 7 Jan 2010 14:28:00 +0000 (14:28 +0000)]
option to instance groups when linking or appending.
Campbell Barton [Thu, 7 Jan 2010 12:41:07 +0000 (12:41 +0000)]
fix for painting bug added since 25391 (own fault)
Making shell_angle_to_dist use radians was needed for solidify but somehow broke paint. Need to look into further but for now this fixes it.
Matt Ebb [Thu, 7 Jan 2010 11:37:57 +0000 (11:37 +0000)]
Fix for eyedropper not calling proper updates. Silly!
Matt Ebb [Thu, 7 Jan 2010 11:09:29 +0000 (11:09 +0000)]
Fix [#19820] linking material nodes in node editor doesn't update the material preview
Thomas Dinges [Thu, 7 Jan 2010 11:01:12 +0000 (11:01 +0000)]
Fix for Color Picker Eyedropper crash. Thx Matt :)
Matt Ebb [Thu, 7 Jan 2010 10:49:16 +0000 (10:49 +0000)]
Fix [#19664] updating key in graph editor doesn't update value for
Shapekeyweight in realtime
Damien Plisson [Thu, 7 Jan 2010 10:32:48 +0000 (10:32 +0000)]
OpenGL anti-aliasing for 3D view, user selectable
Enables AA only for 3D view, and gives the user the option to turn it on/off (in system panel of user prefs)
Matt Ebb [Thu, 7 Jan 2010 09:55:11 +0000 (09:55 +0000)]
Color Picker work:
Restored the old Eyedropper tool from the 2.4 colour picker. Now it's an operator,
working nicely using rna properties (fixes #19475 and some todo items)
This ended up being a bit more work than expected, it involved converting the
colour picker to use RNA properties directly, rather than temporary values. This has
several advantages, including being able to type in RGB values greater than 1,
however there are still some redraw issues with sliders.
Also removed the alternate color pickers after this time spent testing, the current one
should be sufficient, or alternatives to the wheel can possibly become preferences
in the current design.
Converting the picker to RNA also made it very trivial to make a cool new
ColorWheel template, which can be embedded in UI layouts. I've enabled it already
in texture/vertex paint brush properties and the sequence editor color correction:
http://mke3.net/blender/devel/2.5/colorwheels.jpg
Dalai Felinto [Thu, 7 Jan 2010 05:23:54 +0000 (05:23 +0000)]
PyDoc updated for Rasterizer setEyeSeparation and setFocalLength + blenderplayer building again.
stubs.c update patch by Mitchel Stokes - Moguri
Matt Ebb [Thu, 7 Jan 2010 03:13:26 +0000 (03:13 +0000)]
Attempt to fix build error on Windows
Matt Ebb [Thu, 7 Jan 2010 01:27:10 +0000 (01:27 +0000)]
Replaced lasso gesture filling code with scanfill, not 100% as nice, but simpler and more compatible.
Campbell Barton [Wed, 6 Jan 2010 22:42:13 +0000 (22:42 +0000)]
fix for own but in recent driver optimization [#20580] Driver Crasher rev [25763]
recalculate names when needed
Campbell Barton [Wed, 6 Jan 2010 22:38:51 +0000 (22:38 +0000)]
- leg_quadruped_generic missing imports
- move global pivot in the UI of userprefs since others are closer related