Commit Graph

24079 Commits

Author SHA1 Message Date
Andrea Weikert
df2ed9fa3b == MSVC 9 projectfiles ==
small update
2010-04-29 18:46:43 +00:00
Campbell Barton
dfc1b8428e missed this in recent api edits 2010-04-29 18:40:33 +00:00
Campbell Barton
08c3bfdfaf NULL check for pointcache. not sure this should be fixed elsewhere, commented this needs further checking. 2010-04-29 17:57:17 +00:00
Guillermo S. Romero
1fc7ea774f Make Blender malloc wrapper be 64 bit ready. 2010-04-29 17:34:40 +00:00
Guillermo S. Romero
f63de81223 SVN maintenance. 2010-04-29 17:07:17 +00:00
Campbell Barton
610c4befd4 option to copy constraints without making their ID references direct links.
needed because proxies are causing libs to be linked directly when they should be kept indirect (likely slowing load times though I didnt time this)
2010-04-29 15:31:53 +00:00
Campbell Barton
6662440867 select linked options, Library and Library ObData 2010-04-29 14:44:39 +00:00
Campbell Barton
7e0fc2692b add missing header 2010-04-29 07:06:00 +00:00
Matt Ebb
b008f04450 Rewrite of Logic editor UI to use layout engine
This commit puts the ground work in place, swapping out the crusty old Logic Editor
UI code for the new RNA-based layout engine. It's disabled with ifdefs at the moment
because it's incomplete, but Dalai can now do the grunt work to fill it all out and get it running.

Also includes a bug fix to LINK buttons, and two new logic operators to add and delete sensors.

Dalai, just switch the #if 0 and #if 1 in logic_window.c:3412 and 3469
2010-04-29 07:01:48 +00:00
Daniel Salazar
09f2b457f8 Set all brushes default distance
Edit mode back geometry occlusion on
Render size to %100 (%25 default is confusing)
Allow negative frames disabled by default (the use cases of this are
very few for it to be on by default)
2010-04-29 06:42:31 +00:00
Daniel Salazar
58cb999253 Newly created brushes will have a lower spacing. Still need to fix some
of the default brushes
2010-04-29 05:20:24 +00:00
Dalai Felinto
a86748adf8 fix for [#22195] Empty Size minimum limit too big (patch by Bassam Kurdali - slikdigit) with small change
(ui range precision to 2 instead of 4, since 4 doesn't seem to work here).

From the tracker:
""" 
The smallest size allowed for empty_draw_size is 0.1. This is un-necessarily limiting and, depending on the scene, much
too large resulting in visual confusion in the 3D View.
Opening old files initially results in small empties, but when you click on them they 'grow' to the new minimum. This
seems to show that previous blender versions didn't have this bug.
Please remove the limitation, or, if needed, make it a much smaller number, so that empties are easier to see and distinguish from one another in small scenes/setups
"""
2010-04-28 21:18:40 +00:00
Campbell Barton
9db7f4122d fix for crash on loading some nodes. 2010-04-28 18:13:03 +00:00
Campbell Barton
b2196c364f pin and driver id pointers were adding user references from rna but not on file load.
removing a reference to either could remove the object/data from the scene.
use set functions to avoid refcounting.
2010-04-28 11:05:11 +00:00
Daniel Salazar
0b49c6255f patch 21737 by Elia Sarti (vekoon)
Currently for ColorBands, when pressing the Add button, new elements are
set with a medium gray in a medium position which often is not desired
behaviour.
 
This patch when possible sets new elements as averaged values between
the current element and its preceding neighbour
2010-04-28 09:29:17 +00:00
Campbell Barton
c757c66f92 reverting 28469, there is no use in using a long, while the allocation functions only accepts an int.
- only wastes 4 bytes per alloc.
Also would be most correct to use size_t
2010-04-28 08:15:26 +00:00
Campbell Barton
5982662e23 add option -Y to enable python script execution. 2010-04-28 08:02:51 +00:00
Daniel Salazar
7dd251bb2b Manipulator combo was a bit too much cluthering for default, reverting
that. Enabled grease pencil smooth stroke
2010-04-28 07:36:47 +00:00
Campbell Barton
2d4d820b97 3dview --> view3d, patch by Jonathan Smith with small corrections and changes. 2010-04-28 07:25:39 +00:00
Daniel Salazar
68e68af102 - Increased default 3D View clipping
- Default cube properly selected
- Using transform manipulator combo (loc/rot/size)
- Default sculpt brush spacing was too wide (jagged strokes)
2010-04-28 06:46:44 +00:00
Daniel Salazar
574d1117f8 Tweaking of default preferences: Playback FPS on, larger miniaxis, bit
faster smoothview, third scene lamp ON (shading looked completly dark
from below)
2010-04-28 06:18:16 +00:00
Martin Poirier
f3c0743b41 NetRender:
- multires cache files and image .tex cache support in dependency list
- Compare md5 of files before using a local copy (not one transfered by netrender). Could be changed to a simpler CRC if speed is an issue. The goal is not to have a strong crypto signature but just to detect outdated local files.
- Reduce slave timeout to 5 minutes (down from 30). Slaves should report at most every 30s, there's no reason for a value to be that high.
- Reorder the presentation tables on the main web page (job list is more important)
- Collapse dependency list by default on job page (only show main file and headers for other files, point cache and fluid cache)
- Slave option (default: True) to also output render log to the console (as well as the usual copy to the master)
2010-04-28 01:54:12 +00:00
Campbell Barton
058b702f19 user modules were not loading in background mode. 2010-04-27 21:01:24 +00:00
Campbell Barton
cf8ebbf751 update for changes to blf module 2010-04-27 19:46:15 +00:00
Campbell Barton
124c55fcc3 remove redundant argument from mathutils callbacks 2010-04-27 19:21:36 +00:00
Campbell Barton
f9fbfd9297 oversight in recent mathutils update. obj.matrix = obj.matrix would call its own updage callbacks until it crashed. 2010-04-27 18:55:25 +00:00
Guillermo S. Romero
d6b71243c2 Make len portable (as best as can tested with a 32 bit machine). 2010-04-27 18:21:49 +00:00
Campbell Barton
c80d0f1f85 fix for allocations over 2gig crashing blender (even on 64 bit systems)
the memheader len would wrap to a negative number and when freeing it would write into the memheader.
2010-04-27 15:46:58 +00:00
Campbell Barton
91197621dc fix for error in decleration order 2010-04-27 13:22:43 +00:00
Matt Ebb
d9dbf99cae Fix [#22173] Texture nodes update every mouse click
Notifier tweaks
2010-04-27 11:09:52 +00:00
Campbell Barton
505023d206 factor for setting particle weights 2010-04-27 09:54:36 +00:00
Ton Roosendaal
cbe55dc66b Text button with search icon now updates "live", like in outliner. 2010-04-27 09:07:26 +00:00
Campbell Barton
e40531991d fixes for euler order setting when the rotation mode is not euler. 2010-04-27 07:50:31 +00:00
Matt Ebb
79bd15c32d Fix [#22165] "Camera:" field of the Properties>View panel (3D View) has no function & is confusing
Cleaned up UI, made it a bit clearer
2010-04-27 06:47:12 +00:00
Martin Poirier
061a306d66 NetRender tweaks by Brecht
* Client connection is made from panel poll functions even if
netrender is disabled
* Network render slave should print when it has connected to server,
now it says "node initiation", I initially thought this meant it was
not connected yet.
* Web interface should auto-refresh, I got confused if job and slaves
were actually found or not.
2010-04-27 03:14:40 +00:00
Campbell Barton
fd15ba060b [#21753] allowing to compile on FreeBSD 8.0
patch on libopenjpeg
2010-04-26 21:28:50 +00:00
Campbell Barton
5e2a9770f5 bugfix [#22163] Add->mesh->torus is broken
recent commit broke this, missed changing double to float.
2010-04-26 21:25:14 +00:00
Campbell Barton
6bb55fd93e py/rna, euler objects order is now wrapped correctly...
eg:
 eul = bpy.context.object.rotation_euler
 eul.order = 'XZY' # will update the objects setting.
2010-04-26 21:04:42 +00:00
Daniel Genrich
523b95898b Add missing null check solving crash on texture panel, also fix possible 'freeing NULL' because of misplaced MEM_freeN() in that context. 2010-04-26 20:30:13 +00:00
Brecht Van Lommel
a547e91d41 Two bugfixes from the render branch:
* Fix for FSA update while rendering fix, should set float rect to NULL.
* Fix for irradiance cache mutex unlock that got lost in code changes.
2010-04-26 12:50:48 +00:00
Joshua Leung
f39163acd7 Outliner Filtering Bugfix:
Campbell's changes to make this use fnmatch by default had the case-sensitivity setting inverted. This meant that convenient searches in lowercase were no longer possible by default.
2010-04-26 10:31:09 +00:00
Brecht Van Lommel
b757e5c944 Fix #22086 and #22125: crashes due to editmode being set on load/undo, fixes
are simple enough, though may still revert this feature if it turns out there
are more problems.
2010-04-26 10:12:03 +00:00
Joshua Leung
2785bc1aef Proper fix for the Grease Pencil drawing options 2010-04-26 10:02:30 +00:00
Daniel Salazar
449d6a3cac Some work on the cluthered particles UI; lot's more to do 2010-04-26 09:33:59 +00:00
Daniel Salazar
724c8afde8 Got tired of the heavily compressed armature layer icons. Also added
a smart wide/narrow UI conversion

http://www.pasteall.org/pic/show.php?id=2940
2010-04-26 08:55:14 +00:00
Daniel Salazar
1542b15a07 Cleanup of grease pencil UI. Ali can you check if what I did in
gpencil_buttons.c is ok? it was graying out two buttons that shoudn't
have
2010-04-26 08:05:04 +00:00
Joshua Leung
4980e43dd1 Assorted code cleanups:
* Removed some un-needed armature code stubs
* Manually copying over the values of constraints in the constraint copy() callbacks should NOT be needed. Removed this from the Spline IK constraint. The manual process is only a hacky aspect of the modifier stack only!
2010-04-26 06:35:25 +00:00
Joshua Leung
b5d28306d0 Bugfix [#22069] Speed-Ipos are not imported correctly from 2.49 to 2.5
- IPO-blocks for curves were not getting handled correctly (i.e. no conversion and relinking was taking place) when converting from 2.4x to 2.5
- Old 'speed' IPO's now have their values multiplied by the path length when they are loaded from old 2.4x files so that they work correctly in 2.5. 

Also...
- Cleaned up a few instances of scruffy code formatted in some weird ad-hoc way.
- Debug prints for the start/end of the file conversion process are now all hidden behind debug-only checks. Unless the way the conversions are done is significantly changed at some point, this should be sufficient...
2010-04-26 06:33:04 +00:00
Matt Ebb
7bf3add0a5 Add operator undo flags to text datablock related operators 2010-04-26 04:49:33 +00:00
Matt Ebb
f85fe4d633 Pass constraint names as operator properties in constraint operators
This is similar to commit revision 22078, but for constraint operators rather 
than modifiers, making it possible to use them from scripting.
2010-04-26 03:42:38 +00:00