Commit Graph

28064 Commits

Author SHA1 Message Date
Martin Poirier
185f774385 [#25671] Network Render freezes/blocks blender
Decreasing timeout and increasing refresh period
2011-01-28 00:00:10 +00:00
Daniel Salazar
a68a44817a More logical ordering of Empty draw types. Made Plain Axes default for
new empties
2011-01-27 21:05:01 +00:00
Nathan Letwory
7c31042c6e And on your left you can see something much nicer (while I fix this here on your right). 2011-01-27 19:49:43 +00:00
Nathan Letwory
71cb745941 Commit to cope with API changes in OpenCOLLADA (latest for Windows right now r827). 2011-01-27 19:39:06 +00:00
Janne Karhu
ba9dacbd3d Silly mistake in own previous commit, now we have particles again! 2011-01-27 17:29:22 +00:00
Campbell Barton
ce7f7d6e5f r34526 removed a line which had an unused return value but still needed to run. 2011-01-27 12:36:48 +00:00
Janne Karhu
8fa9a91639 Fixing some clang reported issues in particle code.
* Not really bugs, but some code cleanup and clarification.
2011-01-27 12:21:14 +00:00
Campbell Barton
40b4471de7 fix for gcc 4.6 commit: this is needed for osx too. 2011-01-27 11:17:23 +00:00
Campbell Barton
f10e44884e gcc 4.6 compatibility commit r34520 broke OSX, this should work now. 2011-01-27 09:40:20 +00:00
Campbell Barton
45fc590835 internal changes, script writers won't notice.
disable getattr metaclass forwarding attributes from the python class, eg:
  bpy.types.Scene.foo != bpy.types.Scene.bl_rna.properties['foo']

... This was convenient but too tricky to properly maintain with attribute assignment and attributes defined within the class.
avoid doubles in dir() by converting to a set and then back to a list.
2011-01-27 06:48:14 +00:00
Joshua Leung
18aece4424 Bugfix [#25823] When objects are parented to the same objects that
they have some rotation-affecting constraint (i.e. Track To and Copy
Rotation) targetting, transforming the objects (directly, using GKEY
-> grab) becomes unreliable.

This was caused by a typo in some code checking for some
OB_NO_CONSTRAINTS under "flag" instead of "transflag"
2011-01-27 01:29:40 +00:00
Campbell Barton
6a2e5ad599 [#25815] Patch gcc 4.6
with minor edits, made sure it works in CMake too.
2011-01-27 00:02:25 +00:00
Joshua Leung
340e411889 Silencing some annoying key-event prints in Win32 console:
The console was getting flooded with output like
g


i

i
...
all as a result of what looks like a debugging print. Whoever put this
in, you can get back your debugging prints by enabling BF_GHOST_DEBUG
in your local config :)
2011-01-26 23:58:20 +00:00
Joshua Leung
50e09b15a9 Bugfix [#25707] / Todo Item: "Local Space" for Object constraining
For Constraints, there's now a working "Local" Space for Objects
without parents. This is defined as relative to the object's rotated
set of axes which results from rotation that gets set via "rotation"
transform properties.

I'm not sure whether this different behaviour between parented and
unparented objects will be too confusing (and thus require separate
settings + a round of version patching), so I'll wait until we get
proper testing from experienced riggers first.
2011-01-26 23:33:08 +00:00
Joshua Leung
eb0ddb7684 Usability issue noted while self-testing some stuff...
Giving modifiers more descriptive tooltips for "Vertex Group" fields
than just the useless/meaningless "Vertex Group name" tooltip they
used to have.
2011-01-26 22:38:05 +00:00
Joshua Leung
5270280a65 Bullet-proofing mesh vertex group RNA wrapping, after double checking
on whether vertexgroup weight animation worked
2011-01-26 22:31:14 +00:00
Dalai Felinto
e46895811e bge fix: debug text didn't have GL_DEPTH disabled - text got clipped when we have objects too close to the camera
fix only in embed bge, blenderplayer seems to be doing differently.
-- reported live by Mike Pan
2011-01-26 22:16:58 +00:00
Joshua Leung
0fb785aaa7 Removing some old stuff from old animation system that isn't needed
anymore (shapekeys stuff)
2011-01-26 22:01:51 +00:00
Joshua Leung
91b1efc2c5 "Bugfix" (otherwise known as another ZanQdo Feature Request)
Shape Key point data can now be animated directly. That is, you can
animate the locations that each shape key defines.
2011-01-26 21:58:32 +00:00
Sergey Sharybin
4613d638a9 Fix #25818: Text Editor holizontal grab inverted
Stupid typo. Maybe it's a result of merging two patches related to this part of code.
2011-01-26 21:00:52 +00:00
Martin Poirier
c627e1cbaa Bug [#25696] Netrender feedback fails
Patch by Wintch Analyzer

Someone change an attribute name and this wasn't updated
2011-01-26 20:09:30 +00:00
Campbell Barton
8cf0d64623 option for blender --addons rigify,io_scene_fbx,add_mesh_gears
needed so ctest unit testing can be done on addons that are not enabled by default.
2011-01-26 16:30:12 +00:00
Campbell Barton
1efb22c2e6 fix from andguent on irc, wasn't checking for property type. 2011-01-26 16:21:54 +00:00
Campbell Barton
2df908df39 fix for error in add mesh script with no operator passed. 2011-01-26 14:52:00 +00:00
Campbell Barton
2761799c64 Possible fix for issue #2 in [#25664] Remove Pack does not work in Texture panel
- There were 2 pack menu's, merged into 1.
- Don't attempt to unpack into // if the blend file isn't saved, would use the CWD instead.
2011-01-26 14:18:16 +00:00
Janne Karhu
307c10486d Fix for [#25797] Hair partcle crash when vertexgroup length enabled
* Rounding errors could give vgroup weights of slightly over 1.0 to particles in some cases.
2011-01-26 13:02:47 +00:00
Ton Roosendaal
c7ea17bb92 After test, offset is better to be 0.001f (test in windows nvidia) 2011-01-26 12:48:22 +00:00
Campbell Barton
dc30caab61 fix for crash when assigning unsupported type to collection properties. 2011-01-26 12:44:09 +00:00
Ton Roosendaal
efa9d4f7e0 Bugfix #25756
Outliner was drawing icons sometimes blurred. Happens when subpixel
positions vary. UI code doesn't suffer this, it makes own ortho for
it.

This fix re-uses an un-used v2d flag (V2D_PIXELOFS_X) to force a 2d
view on pixel exact positions. It's set for outliner only, I need
testing feedback first.
2011-01-26 12:26:44 +00:00
Nathan Letwory
a70e697381 Apply part of patch [#25612] Windows 7 icon progress bar
Submitted by Alexander Kuznetsov.

This adds the progress bar to the taskbar item of Blender for Windows 7.
Small change in version retrieval, otherwise as is.
2011-01-26 12:23:02 +00:00
Nathan Letwory
75f155be33 Apply multimonitor fix part of patch [#25612]
Submitted by Alexander Kuznetsov
Fixes [#23630] Negative OS screen coords not stored/used
Reported by Mort (mnme)
2011-01-26 12:19:19 +00:00
Joshua Leung
2f45cdb420 ShapeKeys RNA Wrapping: Code cleanup
Replaced some manual/inlined operations with their equivalents from
the listbase library funcs.
2011-01-26 10:46:43 +00:00
Joshua Leung
ed5791bd0b - Clear rotation for objects now works on delta transforms too. The
only case that doesn't fully work yet is the one where quats/axis-
angle are converted to eulers first.
- Fixed incorrect comment
- Removed obsolete "armature_clear" var from clear origin operator.
This was some ancient stuff from 2.4x code that ended up getting
ported across...
2011-01-26 10:25:15 +00:00
Joshua Leung
fa84840c84 Refactoring object clear-transform operators to remove out the common
parts, like what was done for posechannel clear-transform operators
earlier. There shouldn't be any functional changes.
2011-01-26 09:27:43 +00:00
Campbell Barton
1f5cec709c update to background_job template to use --factory-startup option.
make all templates pep8 compliant.
2011-01-26 07:54:27 +00:00
Campbell Barton
7a23193811 cmake attempted fix before didnt work (I cant test on OSX), this should fix. 2011-01-26 07:34:17 +00:00
Joshua Leung
78fb0a42b7 Adding Calculate/Clear Motion Path operator buttons to toolbar. I'm
currently reviewing the UI for this, so more changes related to this
should be coming...
2011-01-26 06:41:44 +00:00
Daniel Salazar
c47eb461ac After talking to Troy Sobotka, separated the time mapping UI a bit and added a label. It should be less obscure now 2011-01-26 06:08:26 +00:00
Campbell Barton
fb08dc11e3 missed this when updating cmake files 2011-01-26 04:48:37 +00:00
Daniel Salazar
58352e12f5 Adding Framerate preset patch by Troy Sobotka (sobotka). Small change to
make Frame Old / Frame New remapping settings always visible as they
aren't really a part of framerate settings
2011-01-25 18:30:31 +00:00
Janne Karhu
0f375d8980 Fix for [#25781] Bake cache for particles fails at end , ALT + A not
* Missing check for info frame (frame 0).
2011-01-25 17:08:43 +00:00
Campbell Barton
d8539d8801 small internal cleanup, have matrix.scale_part() use same method to extract the scale as matrix.decompose() 2011-01-25 16:32:41 +00:00
Campbell Barton
1bd0db59f4 use cmake defined names for jpeg, png, zlib and python libs, building on *nix with non-standard libjpeg/png/zlib locations was broken.
in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
2011-01-25 14:43:13 +00:00
Campbell Barton
da2b490198 cmake maintenance, was missing 2 headers and made some minor improvements to cmake_consistency_check.py.
also converted GHOST_SystemWin32.cpp to utf8.
2011-01-25 08:35:10 +00:00
Campbell Barton
57289044ca improve unregister error check not to loop over parent classes properties (would check the same property multiple times) 2011-01-25 07:31:11 +00:00
Campbell Barton
c0e74f9dce fix [#25748] Addons register parameters/functions more than once
- values were added to both the classes __dict__ as well as the internal StructRNA.
- made properties available from the type since this is where the python api assigns them:
>>> bpy.types.Scene.frame_start
<bpy_struct, IntProperty("frame_start")>
- rename RNA_struct_type_properties() -> RNA_struct_type_properties(), added RNA_struct_type_find_property()
2011-01-25 06:54:57 +00:00
Campbell Barton
17509e7334 property lookups on structs was doing a listbase search even if the hash was defined.
since the property hash is maintained there is no reason for this, especially since the property could be in the StructRNA's parent class.
2011-01-25 05:45:21 +00:00
Campbell Barton
27cb6218a3 fix [#25778] Memoryblock Data from SCR: end corrupt
+ other minor changes.
2011-01-25 01:51:28 +00:00
Sergey Sharybin
8e83dd0933 Todo item: text editor does not honour continuous grab(see
Added OPTYPE_GRAB_POINTER flag to scrolling operator, changed a bit logic of
delta calculation and removed unused members from TextScroll structure.

Got issue with very-fast mouse moving (when mouse pointer could go out of window,
but it's general issue for all grab operator).

Was unable to check MOUSEPAN event (two-finger scroll). Please poke me if
there are any issues with this event.
2011-01-24 18:21:55 +00:00
Campbell Barton
076171c5fa fix [#25757] Torus script uses radians for rotation in panel 2011-01-24 15:25:03 +00:00