Commit Graph

38931 Commits

Author SHA1 Message Date
Campbell Barton
26ca0008ee typo/style edits 2012-06-08 05:53:30 +00:00
Campbell Barton
a6f3e15d6e - remove redundant NULL checks from mallocn's local linked list functions.
- minor changes to warning cleanup.
2012-06-08 05:46:00 +00:00
Campbell Barton
36db2a2cff initial support for editing masks in the sequencer, currently only draw the mask. 2012-06-07 19:24:49 +00:00
Campbell Barton
186f542b79 remove casts to short when allocating new imbufs. 2012-06-07 18:33:36 +00:00
Campbell Barton
bdf9e02346 new sequence strip type for masks. 2012-06-07 18:24:36 +00:00
Bastien Montagne
32530c2827 Quite some warnings... 2012-06-07 18:21:07 +00:00
Sergey Sharybin
1c46e63d4d Tooltips shouldn't have dot at the end of sentence 2012-06-07 18:10:25 +00:00
Sergey Sharybin
fd271f34fe Remove unused ibuf argument from draw_gpencil_2dimage
It was used by sequencer only and it wasn't ported for a while already.
This change allows to save cahce lookup for image and clip editors.
2012-06-07 17:57:49 +00:00
Gaia Clary
49a5141cde [#31739] Collada: New Export selections 'Include Armatures' 2012-06-07 17:55:26 +00:00
Sergey Sharybin
64c45caff9 Remove checks for valid frame from poll function in clip editor space
This results in some buttons not disabled when there's no currently displaying frame,
but this saves lots of cache lookups and threading loks for every frame update.
2012-06-07 16:36:19 +00:00
Sergey Sharybin
8a500eea9a Avoid imbuf loading when getting movie clip size
This prevents high memory usage by non-proxied frames when doing mask parenting.

Description from code:

  Originally was needed to support image sequences with different image dimensions,
  which might be useful for such things as reconstruction of unordered image sequence,
  or painting/rotoscoping of non-equal-sized images, but this ended up in unneeded
  cache lookups and even unwanted non-proxied files loading when doing mask parenting,
  so let's disable this for now and assume image sequence consists of images with equal sizes
2012-06-07 16:15:24 +00:00
Campbell Barton
105b1031dd code cleanup: rename sequencer types to SEQ_TYPE_*** and use enums rather then defines. 2012-06-07 15:49:02 +00:00
Campbell Barton
3916414709 adding mask points now adds in the correct place relative to shape keys (updating other keys for the new points still needs work though) 2012-06-07 15:33:32 +00:00
Campbell Barton
742171f609 fix for crash with recent color commits to draw-object, this case wasnt handled correctly before. 2012-06-07 15:20:51 +00:00
Campbell Barton
3140cd993d fix for crash with selecting camera bundles. 2012-06-07 14:21:25 +00:00
Joshua Leung
35a274711e Bugfix [#31723] Renderer (internal) ignores keyframes on 'Compositing' checkbox
for animations

Pipeline options such as Use Compositing and Use Sequencer cannot be animated
due to the way that they are implemented now, so adding these to the list of
render properties that we cannot animate.
2012-06-07 10:55:53 +00:00
Sergey Sharybin
a99b9a5c3d Fix #31725: UV map order is ignored when opening in 2.6+ versions
Issue was caused by do_versions being used pdata as reference for active/render/
stencil/clone layer indices instead of fdata.

Added some utility functions used only by do_versions to be sure this indices
are set from fdata for pre-bmesh files.
2012-06-07 09:11:16 +00:00
Campbell Barton
ed7dbbdfe9 fix for buffer overrun on windows by kjym3 on IRC. 2012-06-07 09:05:51 +00:00
Campbell Barton
bc961c90a2 fix for armature specular material color overriding the wire color when instanced in a dupli 2012-06-07 09:04:45 +00:00
Campbell Barton
2c362c13fd dont draw bone names/axis inside duplicators 2012-06-07 08:20:10 +00:00
Benoit Bolsee
2b889eea8d Fix [#31430] part 2: crash in iTaSC when end effector is a fixed bone. This situation was causing access to invalid index in the joint angle array although the end effector doesn't need any joint angle to compute its pause. Fixed this by changing the internal API of joint array: return pointer instead of reference so that NULL pointer can be returned instead of crashing when the index is invalid. 2012-06-07 08:16:41 +00:00
Benoit Bolsee
ef850d75f5 Fix unaligned array crash in Eigen3 because of compilation option. The EIGEN_DONT_ALIGN_STATICALLY compilation option was added for Win32 only in revision 41283 because of some compilation problem. But this option is causing alignment problem for Eigen3 local variables when SSE optimization is enabled. I do not have any compilation problem when the option is not defined, so I just remove it as it should. 2012-06-07 08:04:58 +00:00
Campbell Barton
a921ca86f7 fix for error in previous commit.
- dupli-group armatures with pose bone objects set would draw with uninitialized color
- also fix old bug - armature were over-riding the constcolor option - so drawing dupli-groups for eg - would ignore the DRAW_CONSTCOLOR flag.
2012-06-07 08:02:48 +00:00
Sergey Sharybin
c714388473 Fix #31734: Edge slide operator Flip/Even options not working
Issue was caused by wrong check whether transform is in edge slide mode.
2012-06-07 07:39:37 +00:00
Campbell Barton
e261d5ca3b improvement to handle recalculation, only do this on auto-handles when they are in a spline. 2012-06-07 07:28:55 +00:00
Joshua Leung
ffd75901f3 Code cleanup - Shuffled solve_parenting() function around to remove need for
forward def/local prototype
2012-06-07 05:39:28 +00:00
Joshua Leung
e69ec8be55 Bugfix [#31735] Performance issue related to object parenting to armature
In the file included with the bugreport, framerates were dropping from 60fps to
11fps for an armature with several lattices parented, and a 5fps drop everytime
an object was parented to the armature.

Upon (re-)inspection of the code, it became apparent that this was being caused
by a block of code that would recalculate the parent (perhaps recursively) as it
thought the parent state was for the wrong timestamp. However, the timestamps
this was using was never really updated (except for a single place, which set it
to a single fixed value to force recalculations to take place), which meant that
this branch was run all the time. AFACT, this is a remnant from some of the old
timeoffset stuff + pre-Depsgraph timestamping hacks that are no longer used/set.
2012-06-07 05:29:10 +00:00
Mitchell Stokes
ebb2dc84fc Some slight refactoring of the BGE's LibLoad code to make things a bit cleaner (no functional changes). 2012-06-07 01:46:28 +00:00
Mitchell Stokes
8beea054f7 Fixing some potential heap corruption issues in the Blenderplayer when it is built with CMake. This fix forces Blender and the Blenderplayer to use the same SDNA, since inconsistencies between Blender's and the Blenderplayer's SDNA is what lead to the corruption issues. 2012-06-07 01:44:22 +00:00
Brecht Van Lommel
78cf502c80 Cycles: border render now works in the viewport, when looking through the
camera, same as in render. It draws objects in solid draw mode outside of
the border.
2012-06-06 23:27:43 +00:00
Brecht Van Lommel
5ebc88266e Cycles: small code fix for disabled code. 2012-06-06 23:27:38 +00:00
Thomas Dinges
46945d805f Revert my own commit r47544, this does not seem to be the correct fix. :/ 2012-06-06 23:01:42 +00:00
Campbell Barton
d5032657ed style cleanup 2012-06-06 22:38:39 +00:00
Thomas Dinges
379c4ae4d8 Cycles / OSL:
* Missing header kernel_passes.h, needed for "direction_to_panorama" in kernel_triangle.h
2012-06-06 22:36:07 +00:00
Thomas Dinges
0415913740 Cmake:
* Removed first line, probably accidentally committed in r47439.
2012-06-06 21:55:55 +00:00
Campbell Barton
052e34cc3d fix for bug where auto-handles were not calculated correctly for animated curves. 2012-06-06 20:26:26 +00:00
Campbell Barton
3e8ad394af code cleanup: remove unused mask args 2012-06-06 20:05:58 +00:00
Campbell Barton
fdf0d01d08 disable group/object selection in the outliner, it slows down drawing far too much. 2012-06-06 19:36:26 +00:00
Campbell Barton
67326ad4d9 group outliner option to instance selected groups in the scene. 2012-06-06 19:20:39 +00:00
Sergey Sharybin
f43a733f59 Changed semantic of recently added start_frame
Now it's indicates at which scene frame number movie clip starts playing back.
This this setting is still belongs to clip datavlock and used by all users of
clip such as movie compositor nodes, constraints and so.

After long discussion and thoughts about this it was decided that this would
match image's current behavior (which initially seen a bit crappy), but that's
actually allows:

- Keep semantics of start frame in image and clip datablocks in sync
- Allows to support features like support of loading image sequences
  with crappy numbers in suffix which doesn't fit long int.
- Allows to eliminate extra boolean checkbox to control such kind of offset.

Hopefully from pipeline POV it wouldn't hurt because idea of having this things
implemented in original way was  working only if sequence before processing
started naming form 001.
2012-06-06 18:58:30 +00:00
Campbell Barton
3e3e5b2ea3 replace glGetFloatv(GL_CURRENT_COLOR, col_f); with the current wire color arg. 2012-06-06 18:38:01 +00:00
Thomas Dinges
023fba4735 Transform Locks UI:
* Some beautifying and cleanup to show X, Y, Z label.

This fixes [#31717] Transform Locks panel -> no x,y,z coordinates are displayed
2012-06-06 18:11:12 +00:00
Campbell Barton
b53b03ac1c pass the object wire color along to drawing functions, too many places would use glGetFloatv(GL_CURRENT_COLOR, curcol), which also become confusing to debug if in some cases the color was set beforehand. 2012-06-06 18:00:08 +00:00
Thomas Dinges
47c96b6e40 Cycles / OSL:
* Fixes for some silly typos in the checker shader.
* Added missing GPL licence block to node_fresnel.h.
2012-06-06 16:00:21 +00:00
Campbell Barton
1931aac1f7 style cleanup: (indentation) 2012-06-06 14:48:39 +00:00
Campbell Barton
2cb671591b mask mode
- only keyframe selected mask layers
- fix for crash in deleting animated mask layers (other than the first)
2012-06-06 14:38:47 +00:00
Daniel Genrich
0499200e39 Cloth: Add support for "Self Collision Vertex Group".
Self collision vertex groups enable artists to exclude selected vertices from getting involved in self collisions. This speeds simulations and it also resolves some self collision issues.
2012-06-06 13:30:05 +00:00
Campbell Barton
d6ebba4c9e recalc animated mask deformations on load. 2012-06-06 12:48:02 +00:00
Campbell Barton
c6d0ebcdf9 - background images now draw in opengl render
- fix bug where forground images could be invisible when clipping was enabled.
2012-06-06 11:40:01 +00:00
Antony Riakiotakis
91beb27500 Fix scons + smoke not working. it seems like the definition + include file are needed on the higher level dir too. 2012-06-06 10:41:49 +00:00